Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 212.3 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.336/1.336, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.979/2.979, allocations: 0.5107 GB / 0.8158 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 78.31 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2994, allocations: 181.9 MB / 1.363 GB, free: 14.08 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1664/0.4658, allocations: 142.2 MB / 1.502 GB, free: 15.31 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005155/0.471, allocations: 4.198 MB / 1.506 GB, free: 11.11 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.4712, allocations: 15.81 kB / 1.506 GB, free: 11.09 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000402/0.4716, allocations: 131.1 kB / 1.507 GB, free: 10.96 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000749/0.4724, allocations: 334.5 kB / 1.507 GB, free: 10.63 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.4731, allocations: 292 kB / 1.507 GB, free: 10.35 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006095/0.4737, allocations: 0.5613 MB / 1.508 GB, free: 9.789 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002803/0.474, allocations: 153.4 kB / 1.508 GB, free: 9.633 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/0.4753, allocations: 0.6772 MB / 1.508 GB, free: 8.953 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.4756, allocations: 183.3 kB / 1.509 GB, free: 8.773 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.51e-05/0.4756, allocations: 19.94 kB / 1.509 GB, free: 8.754 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001811/0.4758, allocations: 87.84 kB / 1.509 GB, free: 8.668 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.4759, allocations: 91.73 kB / 1.509 GB, free: 8.578 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.476, allocations: 103.5 kB / 1.509 GB, free: 8.477 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.4764, allocations: 298.8 kB / 1.509 GB, free: 8.184 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.4764, allocations: 0 / 1.509 GB, free: 8.184 MB / 1.201 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4764, allocations: 0 / 1.509 GB, free: 8.184 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4764, allocations: 0 / 1.509 GB, free: 8.184 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007689/0.4771, allocations: 472.7 kB / 1.51 GB, free: 7.691 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4772, allocations: 8.031 kB / 1.51 GB, free: 7.684 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.992e-05/0.4772, allocations: 54.55 kB / 1.51 GB, free: 7.621 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.4773, allocations: 31.75 kB / 1.51 GB, free: 7.59 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.4777, allocations: 233.5 kB / 1.51 GB, free: 7.336 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.4777, allocations: 16 kB / 1.51 GB, free: 7.32 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/0.4778, allocations: 16 kB / 1.51 GB, free: 7.305 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.4782, allocations: 265.8 kB / 1.51 GB, free: 7.008 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4782, allocations: 11.88 kB / 1.51 GB, free: 6.996 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.898e-05/0.4782, allocations: 8 kB / 1.51 GB, free: 6.988 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4782, allocations: 8 kB / 1.51 GB, free: 6.98 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003308/0.4786, allocations: 143.8 kB / 1.51 GB, free: 6.84 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.4799, allocations: 1.289 MB / 1.512 GB, free: 5.469 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.4802, allocations: 179.7 kB / 1.512 GB, free: 5.238 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.4803, allocations: 89.05 kB / 1.512 GB, free: 5.133 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002887/0.4806, allocations: 43.94 kB / 1.512 GB, free: 5.09 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.4807, allocations: 42.5 kB / 1.512 GB, free: 5.039 MB / 1.201 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.4807, allocations: 0 / 1.512 GB, free: 5.039 MB / 1.201 GB Notification: Performance of matching and sorting (n=10): time 0.0005993/0.4813, allocations: 209.2 kB / 1.512 GB, free: 4.828 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.4814, allocations: 183.9 kB / 1.512 GB, free: 4.605 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.4817, allocations: 300.7 kB / 1.513 GB, free: 4.309 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.4817, allocations: 25.7 kB / 1.513 GB, free: 4.277 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.4818, allocations: 152 kB / 1.513 GB, free: 4.125 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.4819, allocations: 35.77 kB / 1.513 GB, free: 4.09 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.119e-05/0.4819, allocations: 37.7 kB / 1.513 GB, free: 4.047 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4821, allocations: 342.8 kB / 1.513 GB, free: 3.703 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.4822, allocations: 43.95 kB / 1.513 GB, free: 3.66 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.4824, allocations: 221.1 kB / 1.514 GB, free: 3.395 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.4827, allocations: 162.7 kB / 1.514 GB, free: 3.211 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4827, allocations: 0 / 1.514 GB, free: 3.211 MB / 1.201 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003668/0.4831, allocations: 201.6 kB / 1.514 GB, free: 3.008 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.4831, allocations: 5.094 kB / 1.514 GB, free: 3.004 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4831, allocations: 7.938 kB / 1.514 GB, free: 2.996 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4832, allocations: 0 / 1.514 GB, free: 2.996 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4833, allocations: 35.97 kB / 1.514 GB, free: 2.961 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4833, allocations: 4 kB / 1.514 GB, free: 2.957 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.4835, allocations: 31.83 kB / 1.514 GB, free: 2.926 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.4835, allocations: 4 kB / 1.514 GB, free: 2.922 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001267/0.4836, allocations: 149.9 kB / 1.514 GB, free: 2.766 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.4837, allocations: 31.8 kB / 1.514 GB, free: 2.734 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000323/0.484, allocations: 135.1 kB / 1.514 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.484, allocations: 0 / 1.514 GB, free: 2.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.4841, allocations: 4 kB / 1.514 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4841, allocations: 0 / 1.514 GB, free: 2.586 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.4849, allocations: 0.7214 MB / 1.515 GB, free: 1.797 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4849, allocations: 8.156 kB / 1.515 GB, free: 1.789 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.485, allocations: 23.92 kB / 1.515 GB, free: 1.766 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.485, allocations: 4 kB / 1.515 GB, free: 1.762 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.485, allocations: 0 / 1.515 GB, free: 1.762 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.485, allocations: 4 kB / 1.515 GB, free: 1.758 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.302e-05/0.4851, allocations: 3.984 kB / 1.515 GB, free: 1.754 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.4856, allocations: 343.4 kB / 1.515 GB, free: 1.387 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-05/0.4857, allocations: 39.92 kB / 1.515 GB, free: 1.348 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.4857, allocations: 8 kB / 1.515 GB, free: 1.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.4858, allocations: 4 kB / 1.515 GB, free: 1.336 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.815e-05/0.4859, allocations: 15.86 kB / 1.515 GB, free: 1.32 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-06/0.4859, allocations: 8.062 kB / 1.515 GB, free: 1.312 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002479/0.4861, allocations: 211.1 kB / 1.516 GB, free: 1.109 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.4861, allocations: 0 / 1.516 GB, free: 1.109 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003149/0.4864, allocations: 63.86 kB / 1.516 GB, free: 1.047 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0008873/0.4873, allocations: 0.8923 MB / 1.517 GB, free: 116 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000338/0.4877, allocations: 123.8 kB / 1.517 GB, free: 15.99 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4877, allocations: 0 / 1.517 GB, free: 15.99 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.4878, allocations: 64.66 kB / 1.517 GB, free: 15.93 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.4885, allocations: 126.6 kB / 1.517 GB, free: 15.8 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.4916, allocations: 2.602 MB / 1.519 GB, free: 13.05 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001474/0.4918, allocations: 154.1 kB / 1.52 GB, free: 12.89 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001411/0.4919, allocations: 50.25 kB / 1.52 GB, free: 12.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.492, allocations: 67.42 kB / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of SimCode: time 4.21e-07/0.492, allocations: 0 / 1.52 GB, free: 12.77 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0356/0.5276, allocations: 7.841 MB / 1.527 GB, free: 5.168 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/10.87, allocations: 9.938 kB / 1.527 GB, free: 5.16 MB / 1.217 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.961559449788183]