Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.00159/0.00159, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001759/0.001759, allocations: 211.9 kB / 23.04 MB, free: 4.863 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.121/3.121, allocations: 0.49 GB / 0.7959 GB, free: 35.45 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.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|masFloRat.T|temSteSta.T|temDyn.T|temDynLoss.T|masFloRat.ports.1..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [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.001993/0.001993, allocations: 75.97 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 176.1 MB / 1.327 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.203/0.5419, allocations: 160.7 MB / 1.484 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007561/0.5494, allocations: 4.158 MB / 1.488 GB, free: 11.48 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008886/0.5503, allocations: 27.75 kB / 1.488 GB, free: 11.45 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.5512, allocations: 254.1 kB / 1.488 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002305/0.5535, allocations: 0.7658 MB / 1.489 GB, free: 10.43 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004236/0.5577, allocations: 1.556 MB / 1.491 GB, free: 8.879 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002133/0.5599, allocations: 1.246 MB / 1.492 GB, free: 7.629 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007415/0.5606, allocations: 373.5 kB / 1.492 GB, free: 7.254 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002013/0.5626, allocations: 0.8252 MB / 1.493 GB, free: 6.426 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006923/0.5633, allocations: 398.3 kB / 1.493 GB, free: 6.035 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.5634, allocations: 47.94 kB / 1.493 GB, free: 5.988 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.5663, allocations: 1.246 MB / 1.495 GB, free: 4.738 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.5665, allocations: 191.4 kB / 1.495 GB, free: 4.551 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.5669, allocations: 258.8 kB / 1.495 GB, free: 4.297 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.5697, allocations: 1.254 MB / 1.496 GB, free: 3.039 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5697, allocations: 0 / 1.496 GB, free: 3.039 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5697, allocations: 0 / 1.496 GB, free: 3.039 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.568e-06/0.5697, allocations: 0 / 1.496 GB, free: 3.039 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001925/0.5716, allocations: 0.9605 MB / 1.497 GB, free: 2.035 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.5716, allocations: 16.02 kB / 1.497 GB, free: 2.02 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.5737, allocations: 291.2 kB / 1.498 GB, free: 1.734 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.5746, allocations: 398.6 kB / 1.498 GB, free: 1.32 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.365e-05/0.5746, allocations: 33 kB / 1.498 GB, free: 1.289 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.5747, allocations: 43.98 kB / 1.498 GB, free: 1.246 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.5759, allocations: 0.5468 MB / 1.499 GB, free: 0.6641 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.576, allocations: 4 kB / 1.499 GB, free: 0.6602 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.576, allocations: 16 kB / 1.499 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.576, allocations: 27.81 kB / 1.499 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.5771, allocations: 455.6 kB / 1.499 GB, free: 176 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.5799, allocations: 1.69 MB / 1.501 GB, free: 14.42 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.5809, allocations: 390.4 kB / 1.501 GB, free: 14.03 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004947/0.5814, allocations: 217.3 kB / 1.501 GB, free: 13.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/0.582, allocations: 91.91 kB / 1.501 GB, free: 13.73 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006783/0.5826, allocations: 307 kB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of pre-optimization done (n=37): time 2.645e-06/0.5826, allocations: 3.938 kB / 1.502 GB, free: 13.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=37): time 0.001895/0.5845, allocations: 0.6723 MB / 1.502 GB, free: 12.73 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.5846, allocations: 59.41 kB / 1.502 GB, free: 12.66 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004787/0.5851, allocations: 385.9 kB / 1.503 GB, free: 12.27 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.5851, allocations: 33.7 kB / 1.503 GB, free: 12.23 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.5854, allocations: 280.4 kB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.5855, allocations: 142.8 kB / 1.503 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.5856, allocations: 86.12 kB / 1.503 GB, free: 11.73 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5858, allocations: 358.8 kB / 1.504 GB, free: 11.37 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/0.5863, allocations: 248.2 kB / 1.504 GB, free: 11.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.5871, allocations: 0.4918 MB / 1.504 GB, free: 10.54 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.5881, allocations: 0.5533 MB / 1.505 GB, free: 9.93 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5881, allocations: 0 / 1.505 GB, free: 9.93 MB / 1.201 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001406/0.5896, allocations: 0.6948 MB / 1.506 GB, free: 9.203 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.5896, allocations: 65.12 kB / 1.506 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.5896, allocations: 4 kB / 1.506 GB, free: 9.125 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.314e-05/0.5897, allocations: 11.98 kB / 1.506 GB, free: 9.113 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.5901, allocations: 92.2 kB / 1.506 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.5902, allocations: 7.984 kB / 1.506 GB, free: 9.016 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.5907, allocations: 71.67 kB / 1.506 GB, free: 8.945 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.5907, allocations: 20 kB / 1.506 GB, free: 8.926 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 (m_flow2.count,$PRE.m_flow2.count,m_flow2.T_start,$PRE.m_flow2.T_start,m_flow1.count,$PRE.m_flow1.count,m_flow1.T_start,$PRE.m_flow1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0002822/0.591, allocations: 187.2 kB / 1.506 GB, free: 8.734 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.724e-05/0.5911, allocations: 59.55 kB / 1.506 GB, free: 8.676 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.5924, allocations: 0.5298 MB / 1.507 GB, free: 8.137 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.5924, allocations: 4 kB / 1.507 GB, free: 8.133 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5924, allocations: 0 / 1.507 GB, free: 8.133 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-06/0.5924, allocations: 3.984 kB / 1.507 GB, free: 8.129 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.5947, allocations: 1.226 MB / 1.508 GB, free: 6.824 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.5947, allocations: 4 kB / 1.508 GB, free: 6.82 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.5952, allocations: 71.89 kB / 1.508 GB, free: 6.75 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/0.5952, allocations: 4 kB / 1.508 GB, free: 6.746 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.5952, allocations: 19.92 kB / 1.508 GB, free: 6.727 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.5952, allocations: 7.938 kB / 1.508 GB, free: 6.719 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/0.5952, allocations: 4 kB / 1.508 GB, free: 6.715 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.597, allocations: 0.9176 MB / 1.509 GB, free: 5.734 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.5972, allocations: 95.52 kB / 1.509 GB, free: 5.641 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.5973, allocations: 15.94 kB / 1.509 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.5977, allocations: 44.02 kB / 1.509 GB, free: 5.582 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.5978, allocations: 47.86 kB / 1.509 GB, free: 5.535 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/0.5979, allocations: 15.94 kB / 1.509 GB, free: 5.52 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0003468/0.5982, allocations: 267.1 kB / 1.509 GB, free: 5.258 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5982, allocations: 0 / 1.509 GB, free: 5.258 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0006984/0.5989, allocations: 167.7 kB / 1.509 GB, free: 5.094 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0003734/0.5993, allocations: 171.1 kB / 1.51 GB, free: 4.918 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001306/0.6006, allocations: 0.6225 MB / 1.51 GB, free: 4.258 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6006, allocations: 0.75 kB / 1.51 GB, free: 4.258 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.6012, allocations: 255.6 kB / 1.51 GB, free: 4.008 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.6023, allocations: 209.5 kB / 1.511 GB, free: 3.809 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.6044, allocations: 1.082 MB / 1.512 GB, free: 2.648 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6047, allocations: 266 kB / 1.512 GB, free: 2.363 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001866/0.6049, allocations: 43.38 kB / 1.512 GB, free: 2.32 MB / 1.201 GB Notification: Performance of SimCode: time 1.082e-06/0.6049, allocations: 4 kB / 1.512 GB, free: 2.316 MB / 1.201 GB Notification: Performance of Templates: time 0.01405/0.6189, allocations: 8.238 MB / 1.52 GB, free: 10.15 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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: 12.59820827608928]