Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.9 MB, free: 13.63 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 476.7 MB / 0.7634 GB, free: 10.92 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002489/0.002489, allocations: 59.91 kB / 1.108 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7562/0.7587, allocations: 168.7 MB / 1.272 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.186/0.9447, allocations: 161.9 MB / 1.43 GB, free: 2.047 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005793/0.9505, allocations: 4.56 MB / 1.435 GB, free: 13.48 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.9508, allocations: 15.88 kB / 1.435 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0004323/0.9512, allocations: 127.1 kB / 1.435 GB, free: 13.34 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0008192/0.952, allocations: 350.4 kB / 1.435 GB, free: 12.99 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007627/0.9528, allocations: 278.6 kB / 1.436 GB, free: 12.72 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0006583/0.9535, allocations: 0.5613 MB / 1.436 GB, free: 12.16 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003676/0.9538, allocations: 179.4 kB / 1.436 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00119/0.955, allocations: 470.2 kB / 1.437 GB, free: 11.52 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.9553, allocations: 203.2 kB / 1.437 GB, free: 11.32 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.9554, allocations: 16 kB / 1.437 GB, free: 11.3 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001942/0.9556, allocations: 83.92 kB / 1.437 GB, free: 11.22 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.9557, allocations: 91.66 kB / 1.437 GB, free: 11.13 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.9558, allocations: 119.4 kB / 1.437 GB, free: 11.02 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.9563, allocations: 309.3 kB / 1.438 GB, free: 10.72 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9563, allocations: 0 / 1.438 GB, free: 10.72 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.192e-06/0.9563, allocations: 0 / 1.438 GB, free: 10.72 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.9563, allocations: 0 / 1.438 GB, free: 10.72 MB / 1.139 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.0008635/0.9571, allocations: 0.5331 MB / 1.438 GB, free: 10.14 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.9572, allocations: 8.625 kB / 1.438 GB, free: 10.13 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.9572, allocations: 31.75 kB / 1.438 GB, free: 10.1 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.9577, allocations: 299.5 kB / 1.438 GB, free: 9.766 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.9577, allocations: 16 kB / 1.438 GB, free: 9.75 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.9577, allocations: 16 kB / 1.439 GB, free: 9.734 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.9582, allocations: 257.9 kB / 1.439 GB, free: 9.445 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9582, allocations: 0 / 1.439 GB, free: 9.445 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.9582, allocations: 15.94 kB / 1.439 GB, free: 9.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.9582, allocations: 4 kB / 1.439 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.9586, allocations: 151.7 kB / 1.439 GB, free: 9.277 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001384/0.96, allocations: 1.364 MB / 1.44 GB, free: 7.824 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.9603, allocations: 187.7 kB / 1.44 GB, free: 7.586 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.9604, allocations: 93.11 kB / 1.441 GB, free: 7.477 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003623/0.9608, allocations: 121 kB / 1.441 GB, free: 7.34 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.9608, allocations: 50.48 kB / 1.441 GB, free: 7.281 MB / 1.139 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.9608, allocations: 0 / 1.441 GB, free: 7.281 MB / 1.139 GB Notification: Performance of matching and sorting (n=10): time 0.0006183/0.9615, allocations: 205.9 kB / 1.441 GB, free: 7.074 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9616, allocations: 187.9 kB / 1.441 GB, free: 6.848 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003087/0.9619, allocations: 291 kB / 1.441 GB, free: 6.555 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.9619, allocations: 29.7 kB / 1.441 GB, free: 6.52 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.962, allocations: 147.9 kB / 1.442 GB, free: 6.371 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.9621, allocations: 35.69 kB / 1.442 GB, free: 6.336 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.9621, allocations: 33.72 kB / 1.442 GB, free: 6.297 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.9623, allocations: 334.8 kB / 1.442 GB, free: 5.961 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001297/0.9624, allocations: 47.95 kB / 1.442 GB, free: 5.914 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.9626, allocations: 123.6 kB / 1.442 GB, free: 5.766 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.9629, allocations: 154.7 kB / 1.442 GB, free: 5.59 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.9629, allocations: 4 kB / 1.442 GB, free: 5.586 MB / 1.139 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003763/0.9633, allocations: 189.3 kB / 1.442 GB, free: 5.395 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.9633, allocations: 10.12 kB / 1.442 GB, free: 5.387 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.9633, allocations: 4 kB / 1.442 GB, free: 5.383 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.9633, allocations: 0 / 1.442 GB, free: 5.383 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.9635, allocations: 36.12 kB / 1.442 GB, free: 5.348 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.9635, allocations: 8 kB / 1.442 GB, free: 5.34 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.9636, allocations: 28.19 kB / 1.442 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.9637, allocations: 7.938 kB / 1.442 GB, free: 5.305 MB / 1.139 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.0001393/0.9638, allocations: 153.7 kB / 1.443 GB, free: 5.145 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.9639, allocations: 31.75 kB / 1.443 GB, free: 5.113 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.9643, allocations: 131 kB / 1.443 GB, free: 4.977 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.9643, allocations: 4 kB / 1.443 GB, free: 4.973 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.9643, allocations: 4 kB / 1.443 GB, free: 4.969 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.9643, allocations: 0 / 1.443 GB, free: 4.969 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008791/0.9652, allocations: 0.773 MB / 1.444 GB, free: 4.121 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-06/0.9652, allocations: 4.156 kB / 1.444 GB, free: 4.117 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.9653, allocations: 23.97 kB / 1.444 GB, free: 4.094 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.9653, allocations: 4 kB / 1.444 GB, free: 4.09 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.9653, allocations: 8 kB / 1.444 GB, free: 4.082 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.9653, allocations: 3.938 kB / 1.444 GB, free: 4.078 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.9653, allocations: 4 kB / 1.444 GB, free: 4.074 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.9659, allocations: 335.5 kB / 1.444 GB, free: 3.715 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.966, allocations: 116.9 kB / 1.444 GB, free: 3.582 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.966, allocations: 3.938 kB / 1.444 GB, free: 3.578 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.9661, allocations: 12.05 kB / 1.444 GB, free: 3.566 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/0.9662, allocations: 19.92 kB / 1.444 GB, free: 3.547 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.9662, allocations: 4 kB / 1.444 GB, free: 3.543 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002117/0.9664, allocations: 209.9 kB / 1.444 GB, free: 3.34 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.9664, allocations: 0 / 1.444 GB, free: 3.34 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003285/0.9667, allocations: 51.94 kB / 1.444 GB, free: 3.289 MB / 1.139 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.0003411/0.9671, allocations: 143 kB / 1.444 GB, free: 3.148 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003494/0.9674, allocations: 119.9 kB / 1.445 GB, free: 3.031 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9674, allocations: 0 / 1.445 GB, free: 3.031 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.9676, allocations: 64.64 kB / 1.445 GB, free: 2.969 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006911/0.9683, allocations: 128.8 kB / 1.445 GB, free: 2.844 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.9691, allocations: 0.513 MB / 1.445 GB, free: 2.285 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.9695, allocations: 0.7673 MB / 1.446 GB, free: 1.492 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.187e-05/0.9696, allocations: 23.44 kB / 1.446 GB, free: 1.469 MB / 1.139 GB Notification: Performance of SimCode: time 3.11e-07/0.9696, allocations: 0 / 1.446 GB, free: 1.469 MB / 1.139 GB Notification: Performance of Templates: time 0.006463/0.9761, allocations: 3.823 MB / 1.45 GB, free: 13.68 MB / 1.154 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches