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.001607/0.001607, allocations: 111 kB / 16.46 MB, free: 6.453 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.001733/0.001733, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.567/1.567, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] 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 3.315/3.315, allocations: 0.4899 GB / 0.7916 GB, free: 33.14 MB / 0.6231 GB " [Timeout remaining time 176] 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.002132/0.002132, allocations: 73.17 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3679, allocations: 176.1 MB / 1.321 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2023/0.5702, allocations: 164.8 MB / 1.482 GB, free: 13.38 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006207/0.5764, allocations: 4.589 MB / 1.487 GB, free: 8.781 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003271/0.5767, allocations: 11.88 kB / 1.487 GB, free: 8.77 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0004668/0.5772, allocations: 131.1 kB / 1.487 GB, free: 8.641 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0008475/0.578, allocations: 342.4 kB / 1.487 GB, free: 8.305 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008049/0.5788, allocations: 283 kB / 1.487 GB, free: 8.031 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006947/0.5795, allocations: 0.5573 MB / 1.488 GB, free: 7.473 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000326/0.5798, allocations: 173.2 kB / 1.488 GB, free: 7.301 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.5813, allocations: 0.6811 MB / 1.489 GB, free: 6.617 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002877/0.5816, allocations: 203.2 kB / 1.489 GB, free: 6.418 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.5816, allocations: 16 kB / 1.489 GB, free: 6.402 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.5818, allocations: 83.86 kB / 1.489 GB, free: 6.32 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.5819, allocations: 87.72 kB / 1.489 GB, free: 6.234 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.5821, allocations: 115.4 kB / 1.489 GB, free: 6.121 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.5825, allocations: 298.8 kB / 1.49 GB, free: 5.828 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.5825, allocations: 0 / 1.49 GB, free: 5.828 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5825, allocations: 4 kB / 1.49 GB, free: 5.824 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.5825, allocations: 0 / 1.49 GB, free: 5.824 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.0008924/0.5834, allocations: 0.5409 MB / 1.49 GB, free: 5.234 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.5834, allocations: 15.92 kB / 1.49 GB, free: 5.219 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.5835, allocations: 35.8 kB / 1.49 GB, free: 5.184 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004417/0.584, allocations: 291.5 kB / 1.49 GB, free: 4.859 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.584, allocations: 16 kB / 1.49 GB, free: 4.844 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.584, allocations: 16 kB / 1.49 GB, free: 4.828 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.5845, allocations: 265.6 kB / 1.491 GB, free: 4.531 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5845, allocations: 7.938 kB / 1.491 GB, free: 4.523 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.5846, allocations: 11.94 kB / 1.491 GB, free: 4.512 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.5846, allocations: 4 kB / 1.491 GB, free: 4.508 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00038/0.585, allocations: 143.8 kB / 1.491 GB, free: 4.367 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.5864, allocations: 1.368 MB / 1.492 GB, free: 2.906 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003639/0.5868, allocations: 179.7 kB / 1.492 GB, free: 2.676 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.587, allocations: 97.05 kB / 1.492 GB, free: 2.562 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.5873, allocations: 117 kB / 1.493 GB, free: 2.43 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.5874, allocations: 42.5 kB / 1.493 GB, free: 2.379 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.5874, allocations: 0 / 1.493 GB, free: 2.379 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006659/0.5881, allocations: 209.2 kB / 1.493 GB, free: 2.168 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.5882, allocations: 184.5 kB / 1.493 GB, free: 1.945 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.5885, allocations: 295 kB / 1.493 GB, free: 1.648 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.5886, allocations: 29.7 kB / 1.493 GB, free: 1.613 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.5887, allocations: 151.8 kB / 1.493 GB, free: 1.461 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 3.889e-05/0.5887, allocations: 39.69 kB / 1.493 GB, free: 1.422 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.5888, allocations: 33.7 kB / 1.493 GB, free: 1.383 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.589, allocations: 334.8 kB / 1.494 GB, free: 1.047 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.5891, allocations: 43.97 kB / 1.494 GB, free: 1.004 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.5893, allocations: 119.7 kB / 1.494 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/0.5896, allocations: 150.7 kB / 1.494 GB, free: 0.6875 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.5897, allocations: 4 kB / 1.494 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000416/0.5901, allocations: 193.3 kB / 1.494 GB, free: 500 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.5901, allocations: 9.656 kB / 1.494 GB, free: 492 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.5901, allocations: 4 kB / 1.494 GB, free: 488 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.5901, allocations: 4 kB / 1.494 GB, free: 484 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.5903, allocations: 27.98 kB / 1.494 GB, free: 456 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.5903, allocations: 0 / 1.494 GB, free: 456 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.5904, allocations: 44.28 kB / 1.494 GB, free: 412 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.5905, allocations: 11.98 kB / 1.494 GB, free: 400 kB / 1.186 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.0001498/0.5906, allocations: 149.8 kB / 1.495 GB, free: 240 kB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.5907, allocations: 27.8 kB / 1.495 GB, free: 212 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.5911, allocations: 131 kB / 1.495 GB, free: 72 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5911, allocations: 0 / 1.495 GB, free: 72 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5911, allocations: 4 kB / 1.495 GB, free: 68 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.5911, allocations: 4 kB / 1.495 GB, free: 64 kB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.5922, allocations: 0.7769 MB / 1.495 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.5922, allocations: 0 / 1.495 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.5924, allocations: 27.92 kB / 1.495 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.5924, allocations: 4.156 kB / 1.495 GB, free: 15.18 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.5924, allocations: 8 kB / 1.495 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5924, allocations: 0 / 1.495 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5924, allocations: 4 kB / 1.495 GB, free: 15.17 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005889/0.593, allocations: 335.5 kB / 1.496 GB, free: 14.81 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.5931, allocations: 117 kB / 1.496 GB, free: 14.68 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.116e-05/0.5931, allocations: 0 / 1.496 GB, free: 14.68 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.5933, allocations: 8 kB / 1.496 GB, free: 14.67 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.5933, allocations: 23.92 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.5933, allocations: 4 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002191/0.5936, allocations: 210 kB / 1.496 GB, free: 14.43 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.5936, allocations: 3.938 kB / 1.496 GB, free: 14.43 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003555/0.5939, allocations: 55.89 kB / 1.496 GB, free: 14.38 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.0002283/0.5941, allocations: 131.1 kB / 1.496 GB, free: 14.24 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003724/0.5945, allocations: 119.9 kB / 1.496 GB, free: 14.12 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5945, allocations: 0 / 1.496 GB, free: 14.12 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/0.5947, allocations: 55.91 kB / 1.497 GB, free: 14.07 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.5954, allocations: 129.7 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008926/0.5963, allocations: 0.4955 MB / 1.497 GB, free: 13.41 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004459/0.5968, allocations: 0.7597 MB / 1.498 GB, free: 12.62 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001371/0.5969, allocations: 50.19 kB / 1.498 GB, free: 12.57 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.918e-05/0.597, allocations: 23.44 kB / 1.498 GB, free: 12.55 MB / 1.201 GB Notification: Performance of SimCode: time 5.21e-07/0.597, allocations: 0 / 1.498 GB, free: 12.55 MB / 1.201 GB Notification: Performance of Templates: time 0.009817/0.6068, allocations: 4.272 MB / 1.502 GB, free: 8.332 MB / 1.201 GB " [Timeout remaining time 299] 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/jenkins/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: 9.478542862925678]