Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00885/0.00885, allocations: 99.66 kB / 15.73 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 200.2 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.143/2.143, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 67.89 kB / 0.9504 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8819/0.8833, allocations: 140.4 MB / 1.087 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001574/0.8849, allocations: 0.547 MB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4e-05/0.8849, allocations: 1.766 kB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.885, allocations: 4 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.885, allocations: 1.031 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.474e-05/0.885, allocations: 0 / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.015e-05/0.8851, allocations: 0 / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.257e-05/0.8851, allocations: 1.922 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.941e-05/0.8852, allocations: 4.656 kB / 1.088 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.8852, allocations: 5.375 kB / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.884e-05/0.8852, allocations: 0 / 1.088 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.8853, allocations: 3.984 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-06/0.8853, allocations: 1.062 kB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.8853, allocations: 4.594 kB / 1.088 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.893e-05/0.8853, allocations: 4 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.912e-05/0.8854, allocations: 6.688 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.8854, allocations: 1.188 kB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8854, allocations: 0 / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.8854, allocations: 0 / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002479/0.8856, allocations: 312.9 kB / 1.088 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8857, allocations: 10.62 kB / 1.088 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.321e-05/0.8857, allocations: 30.75 kB / 1.088 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.8857, allocations: 2.844 kB / 1.088 GB, free: 4.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.742e-05/0.8858, allocations: 165.2 kB / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.943e-06/0.8858, allocations: 384 / 1.089 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.8858, allocations: 5.562 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.415e-05/0.8859, allocations: 31.92 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8859, allocations: 0 / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.886, allocations: 1.406 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.886, allocations: 0.7969 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.545e-05/0.886, allocations: 5.406 kB / 1.089 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001981/0.8862, allocations: 385.8 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.958e-05/0.8862, allocations: 167.8 kB / 1.089 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.8862, allocations: 88.08 kB / 1.089 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.676e-06/0.8863, allocations: 75.28 kB / 1.089 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.8863, allocations: 119.2 kB / 1.089 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.8863, allocations: 0 / 1.089 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.511e-05/0.8863, allocations: 28.55 kB / 1.089 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.8864, allocations: 126.7 kB / 1.09 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.32e-05/0.8864, allocations: 95.33 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.083e-06/0.8864, allocations: 30.41 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.317e-05/0.8865, allocations: 80.14 kB / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-06/0.8865, allocations: 0 / 1.09 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/0.8865, allocations: 15.78 kB / 1.09 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.781e-05/0.8865, allocations: 316.7 kB / 1.09 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.797e-06/0.8865, allocations: 0 / 1.09 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.394e-06/0.8865, allocations: 0 / 1.09 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.658e-06/0.8866, allocations: 76.38 kB / 1.09 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.8866, allocations: 75.28 kB / 1.09 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.419e-05/0.8866, allocations: 33.25 kB / 1.09 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8866, allocations: 81.03 kB / 1.09 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.8867, allocations: 81.12 kB / 1.09 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.403e-05/0.8868, allocations: 164.3 kB / 1.091 GB, free: 18.16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.985e-05/0.8868, allocations: 75.84 kB / 1.091 GB, free: 18.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.482e-05/0.8868, allocations: 152.3 kB / 1.091 GB, free: 17.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.8869, allocations: 80.53 kB / 1.091 GB, free: 17.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.887, allocations: 77.16 kB / 1.091 GB, free: 17.79 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.8871, allocations: 266.2 kB / 1.091 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.8871, allocations: 110.7 kB / 1.091 GB, free: 17.4 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.8872, allocations: 111.2 kB / 1.091 GB, free: 17.29 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/0.8872, allocations: 181 kB / 1.092 GB, free: 17.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.197e-05/0.8873, allocations: 178.6 kB / 1.092 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/0.8874, allocations: 182.8 kB / 1.092 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.8876, allocations: 408.8 kB / 1.092 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.156e-05/0.8876, allocations: 101.5 kB / 1.092 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.549e-05/0.8877, allocations: 107.7 kB / 1.092 GB, free: 16.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.567e-05/0.8877, allocations: 177.1 kB / 1.093 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.687e-05/0.8878, allocations: 186.2 kB / 1.093 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.373e-05/0.8879, allocations: 182.7 kB / 1.093 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.315e-05/0.8879, allocations: 184.8 kB / 1.093 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.8881, allocations: 309.8 kB / 1.093 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.485e-05/0.8881, allocations: 180.8 kB / 1.094 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/0.8882, allocations: 190 kB / 1.094 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.8883, allocations: 106.9 kB / 1.094 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.574e-05/0.8884, allocations: 182.5 kB / 1.094 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-05/0.8884, allocations: 102.8 kB / 1.094 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.8885, allocations: 78.2 kB / 1.094 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8885, allocations: 3.938 kB / 1.094 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002382/0.8887, allocations: 4.094 kB / 1.094 GB, free: 14.14 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004629/0.8892, allocations: 0.8091 MB / 1.095 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 3.797e-05/0.8892, allocations: 1.781 kB / 1.095 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.8892, allocations: 0 / 1.095 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.8892, allocations: 4 kB / 1.095 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.8896, allocations: 458.4 kB / 1.096 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.8907, allocations: 1.522 MB / 1.097 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.891, allocations: 0.6707 MB / 1.098 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.626e-06/0.891, allocations: 1.656 kB / 1.098 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.891, allocations: 11.53 kB / 1.098 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of SimCode: time 4e-07/0.891, allocations: 0 / 1.098 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.9083, allocations: 0.9138 MB / 1.099 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.56/8.469, allocations: 9.641 kB / 1.099 GB, free: 10.26 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches