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.001829/0.001829, allocations: 80.28 kB / 19.18 MB, free: 2.527 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.002271/0.002271, allocations: 163.1 kB / 22.46 MB, free: 5.355 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.481/1.481, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.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.935/2.935, allocations: 389 MB / 0.633 GB, free: 1.012 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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: 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_latest_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_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.878e-05, allocations: 5.797 kB / 1 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.8697/0.8697, allocations: 142.1 MB / 1.139 GB, free: 45.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004187/0.8739, allocations: 4.152 MB / 1.143 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003367/0.8742, allocations: 16.28 kB / 1.143 GB, free: 45.2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.8746, allocations: 137.7 kB / 1.143 GB, free: 45.19 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007537/0.8754, allocations: 331.9 kB / 1.143 GB, free: 45.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007333/0.8761, allocations: 304.3 kB / 1.144 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005324/0.8767, allocations: 0.5292 MB / 1.144 GB, free: 45.17 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.8769, allocations: 141.5 kB / 1.144 GB, free: 45.16 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001422/0.8783, allocations: 0.7337 MB / 1.145 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.8786, allocations: 165.9 kB / 1.145 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.734e-05/0.8786, allocations: 16.88 kB / 1.145 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.8788, allocations: 83.7 kB / 1.145 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.887e-05/0.8789, allocations: 89.89 kB / 1.145 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.879, allocations: 79.42 kB / 1.146 GB, free: 45.14 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003556/0.8793, allocations: 309.4 kB / 1.146 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.8794, allocations: 1.031 kB / 1.146 GB, free: 45.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8794, allocations: 2.875 kB / 1.146 GB, free: 45.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.8794, allocations: 0.875 kB / 1.146 GB, free: 45.12 MB / 1.076 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.0007507/0.8801, allocations: 466.5 kB / 1.146 GB, free: 44.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8801, allocations: 11.62 kB / 1.146 GB, free: 44.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.8802, allocations: 27.3 kB / 1.146 GB, free: 44.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.8805, allocations: 228 kB / 1.147 GB, free: 44.61 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.8806, allocations: 18.58 kB / 1.147 GB, free: 44.61 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/0.8806, allocations: 19.44 kB / 1.147 GB, free: 44.61 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003817/0.881, allocations: 262.2 kB / 1.147 GB, free: 44.49 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.881, allocations: 6.062 kB / 1.147 GB, free: 44.49 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.881, allocations: 6.375 kB / 1.147 GB, free: 44.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.881, allocations: 4.062 kB / 1.147 GB, free: 44.49 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.8813, allocations: 148.8 kB / 1.147 GB, free: 44.49 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009492/0.8823, allocations: 1.237 MB / 1.148 GB, free: 43.49 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.8826, allocations: 175.8 kB / 1.148 GB, free: 43.35 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.8827, allocations: 94.91 kB / 1.148 GB, free: 43.3 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.883, allocations: 41 kB / 1.149 GB, free: 43.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.883, allocations: 42.88 kB / 1.149 GB, free: 43.26 MB / 1.076 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.883, allocations: 0.75 kB / 1.149 GB, free: 43.26 MB / 1.076 GB Notification: Performance of matching and sorting (n=10): time 0.0005919/0.8836, allocations: 199.6 kB / 1.149 GB, free: 43.22 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.8837, allocations: 186.8 kB / 1.149 GB, free: 43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.8838, allocations: 203.9 kB / 1.149 GB, free: 42.9 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.8839, allocations: 29.36 kB / 1.149 GB, free: 42.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.281e-05/0.8839, allocations: 156.5 kB / 1.149 GB, free: 42.76 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.884, allocations: 41.27 kB / 1.149 GB, free: 42.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.794e-05/0.884, allocations: 41.97 kB / 1.149 GB, free: 42.71 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.8841, allocations: 332.4 kB / 1.15 GB, free: 42.4 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.8842, allocations: 49.81 kB / 1.15 GB, free: 42.39 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.8844, allocations: 218 kB / 1.15 GB, free: 42.2 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.8847, allocations: 155.1 kB / 1.15 GB, free: 42.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.8847, allocations: 3.656 kB / 1.15 GB, free: 42.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003405/0.885, allocations: 180.6 kB / 1.15 GB, free: 42.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.885, allocations: 5.812 kB / 1.15 GB, free: 42.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.885, allocations: 1 kB / 1.15 GB, free: 42.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.885, allocations: 4.906 kB / 1.15 GB, free: 42.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.8852, allocations: 36.56 kB / 1.15 GB, free: 42.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.036e-05/0.8852, allocations: 4 kB / 1.15 GB, free: 42.1 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.8853, allocations: 20.42 kB / 1.15 GB, free: 42.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/0.8854, allocations: 5.719 kB / 1.15 GB, free: 42.09 MB / 1.076 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.0001037/0.8855, allocations: 156.4 kB / 1.15 GB, free: 41.97 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.8856, allocations: 19.91 kB / 1.151 GB, free: 41.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.8859, allocations: 118.8 kB / 1.151 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.8859, allocations: 2.781 kB / 1.151 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.8859, allocations: 7.188 kB / 1.151 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.8859, allocations: 3 kB / 1.151 GB, free: 41.93 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006162/0.8865, allocations: 0.6999 MB / 1.151 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.8865, allocations: 1.203 kB / 1.151 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.8866, allocations: 28 kB / 1.151 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.8867, allocations: 0 / 1.151 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.8867, allocations: 3.875 kB / 1.151 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.8867, allocations: 2.781 kB / 1.151 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.8867, allocations: 7.031 kB / 1.151 GB, free: 41.36 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.8871, allocations: 332.9 kB / 1.152 GB, free: 41.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.858e-05/0.8872, allocations: 28.88 kB / 1.152 GB, free: 41.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.8872, allocations: 7.344 kB / 1.152 GB, free: 41.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.8873, allocations: 11.16 kB / 1.152 GB, free: 41.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.035e-05/0.8874, allocations: 13.22 kB / 1.152 GB, free: 41.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8874, allocations: 8.719 kB / 1.152 GB, free: 41.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.58e-05/0.8875, allocations: 145.2 kB / 1.152 GB, free: 41.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8875, allocations: 0 / 1.152 GB, free: 41.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00035/0.8878, allocations: 58.64 kB / 1.152 GB, free: 41.08 MB / 1.076 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.0002177/0.888, allocations: 125.4 kB / 1.152 GB, free: 40.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.8884, allocations: 116.7 kB / 1.152 GB, free: 40.99 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.8884, allocations: 1.094 kB / 1.152 GB, free: 40.99 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.8885, allocations: 68 kB / 1.152 GB, free: 40.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.889, allocations: 59.98 kB / 1.152 GB, free: 40.98 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006805/0.8897, allocations: 439 kB / 1.153 GB, free: 40.72 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001046/0.8898, allocations: 147.6 kB / 1.153 GB, free: 40.65 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.457e-05/0.8899, allocations: 38.62 kB / 1.153 GB, free: 40.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.8899, allocations: 21.47 kB / 1.153 GB, free: 40.63 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.8899, allocations: 0 / 1.153 GB, free: 40.63 MB / 1.076 GB Notification: Performance of Templates: time 0.006635/0.8966, allocations: 2.542 MB / 1.155 GB, free: 40.5 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/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: 9.217511352151632]