Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001478/0.001478, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001586/0.001586, allocations: 222 kB / 23.01 MB, free: 5.086 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.333/1.333, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.879/2.879, allocations: 0.49 GB / 0.7958 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [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.00192/0.00192, allocations: 69.56 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2819, allocations: 176.1 MB / 1.327 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1771/0.4589, allocations: 164.9 MB / 1.488 GB, free: 11.9 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005465/0.4644, allocations: 4.616 MB / 1.493 GB, free: 7.273 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.4647, allocations: 15.88 kB / 1.493 GB, free: 7.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0003945/0.4651, allocations: 131 kB / 1.493 GB, free: 7.129 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0007725/0.4658, allocations: 350.4 kB / 1.493 GB, free: 6.785 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007082/0.4665, allocations: 294.7 kB / 1.493 GB, free: 6.5 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.4672, allocations: 0.5651 MB / 1.494 GB, free: 5.934 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.4675, allocations: 165.4 kB / 1.494 GB, free: 5.766 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001371/0.4688, allocations: 0.6889 MB / 1.495 GB, free: 5.074 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.4691, allocations: 203.2 kB / 1.495 GB, free: 4.875 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.4692, allocations: 16 kB / 1.495 GB, free: 4.859 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4693, allocations: 83.92 kB / 1.495 GB, free: 4.777 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.4695, allocations: 87.72 kB / 1.495 GB, free: 4.691 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.4696, allocations: 119.4 kB / 1.495 GB, free: 4.574 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.47, allocations: 302.8 kB / 1.496 GB, free: 4.277 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.47, allocations: 0 / 1.496 GB, free: 4.277 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.182e-06/0.47, allocations: 4 kB / 1.496 GB, free: 4.273 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.47, allocations: 0 / 1.496 GB, free: 4.273 MB / 1.186 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.0007574/0.4707, allocations: 480.7 kB / 1.496 GB, free: 3.773 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.4708, allocations: 8.031 kB / 1.496 GB, free: 3.766 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.352e-05/0.4708, allocations: 31.8 kB / 1.496 GB, free: 3.734 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.4712, allocations: 229.6 kB / 1.496 GB, free: 3.484 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4712, allocations: 12 kB / 1.496 GB, free: 3.473 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.792e-05/0.4713, allocations: 23.94 kB / 1.496 GB, free: 3.449 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.4717, allocations: 265.6 kB / 1.497 GB, free: 3.152 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.4717, allocations: 0 / 1.497 GB, free: 3.152 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.4717, allocations: 11.94 kB / 1.497 GB, free: 3.141 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.4717, allocations: 4 kB / 1.497 GB, free: 3.137 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003221/0.472, allocations: 147.8 kB / 1.497 GB, free: 2.992 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.4734, allocations: 1.328 MB / 1.498 GB, free: 1.578 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.4737, allocations: 179.7 kB / 1.498 GB, free: 1.348 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.4738, allocations: 93.11 kB / 1.498 GB, free: 1.238 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.4741, allocations: 39.94 kB / 1.498 GB, free: 1.199 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.791e-05/0.4742, allocations: 54.42 kB / 1.498 GB, free: 1.137 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.4742, allocations: 0 / 1.498 GB, free: 1.137 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0005651/0.4747, allocations: 201.3 kB / 1.499 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.4748, allocations: 188.5 kB / 1.499 GB, free: 0.707 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.4751, allocations: 296.2 kB / 1.499 GB, free: 420 kB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.4752, allocations: 29.7 kB / 1.499 GB, free: 384 kB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4753, allocations: 156 kB / 1.499 GB, free: 224 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.4753, allocations: 35.69 kB / 1.499 GB, free: 188 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.65e-05/0.4754, allocations: 29.72 kB / 1.499 GB, free: 152 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4755, allocations: 338.8 kB / 1.5 GB, free: 15.81 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001202/0.4757, allocations: 43.95 kB / 1.5 GB, free: 15.77 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.4758, allocations: 114.5 kB / 1.5 GB, free: 15.63 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.4761, allocations: 162.7 kB / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4761, allocations: 0 / 1.5 GB, free: 15.45 MB / 1.201 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003556/0.4765, allocations: 193.2 kB / 1.5 GB, free: 15.25 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4765, allocations: 11.94 kB / 1.5 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.4765, allocations: 0 / 1.5 GB, free: 15.24 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.4765, allocations: 4 kB / 1.5 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001328/0.4767, allocations: 39.84 kB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4767, allocations: 4 kB / 1.5 GB, free: 15.19 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001499/0.4768, allocations: 36.3 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.4768, allocations: 12 kB / 1.5 GB, free: 15.14 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.0001311/0.477, allocations: 141.8 kB / 1.5 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.4771, allocations: 27.8 kB / 1.5 GB, free: 14.97 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.4774, allocations: 131 kB / 1.501 GB, free: 14.83 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.4774, allocations: 4 kB / 1.501 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4774, allocations: 0 / 1.501 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4774, allocations: 8 kB / 1.501 GB, free: 14.82 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.4782, allocations: 0.7408 MB / 1.501 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4782, allocations: 7.938 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.4784, allocations: 19.98 kB / 1.501 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.4784, allocations: 8.156 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.4784, allocations: 4 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.4784, allocations: 7.984 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4784, allocations: 0 / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.4789, allocations: 339.5 kB / 1.502 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 7.035e-05/0.479, allocations: 31.83 kB / 1.502 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.479, allocations: 8 kB / 1.502 GB, free: 13.56 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.4791, allocations: 4 kB / 1.502 GB, free: 13.55 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.045e-05/0.4791, allocations: 19.98 kB / 1.502 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.4792, allocations: 4 kB / 1.502 GB, free: 13.53 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001983/0.4794, allocations: 215 kB / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.4794, allocations: 0 / 1.502 GB, free: 13.32 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003063/0.4797, allocations: 55.94 kB / 1.502 GB, free: 13.27 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.0002002/0.4799, allocations: 119.2 kB / 1.502 GB, free: 13.14 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.4802, allocations: 119.9 kB / 1.502 GB, free: 13.03 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4802, allocations: 3.938 kB / 1.502 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.4803, allocations: 55.91 kB / 1.502 GB, free: 12.97 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.481, allocations: 131.4 kB / 1.502 GB, free: 12.84 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000792/0.4818, allocations: 0.529 MB / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.4821, allocations: 0.7558 MB / 1.504 GB, free: 11.48 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.705e-05/0.4822, allocations: 23.44 kB / 1.504 GB, free: 11.46 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.4822, allocations: 0 / 1.504 GB, free: 11.46 MB / 1.201 GB Notification: Performance of Templates: time 0.006001/0.4882, allocations: 3.828 MB / 1.507 GB, free: 7.664 MB / 1.201 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.944083919981495]