Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 114.2 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.965/2.965, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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_latest_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_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 65.88 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2988, allocations: 174.9 MB / 1.316 GB, free: 9.664 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2123/0.5111, allocations: 182.7 MB / 1.494 GB, free: 2.246 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0066/0.5177, allocations: 4.502 MB / 1.499 GB, free: 13.74 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005362/0.5182, allocations: 31.69 kB / 1.499 GB, free: 13.71 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006857/0.5189, allocations: 250.1 kB / 1.499 GB, free: 13.46 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.001843/0.5208, allocations: 0.7971 MB / 1.5 GB, free: 12.66 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003551/0.5243, allocations: 1.601 MB / 1.501 GB, free: 11.06 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00153/0.5258, allocations: 1.27 MB / 1.503 GB, free: 9.785 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005383/0.5264, allocations: 353.8 kB / 1.503 GB, free: 9.426 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.5279, allocations: 0.8331 MB / 1.504 GB, free: 8.59 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.5284, allocations: 422.2 kB / 1.504 GB, free: 8.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.148e-05/0.5285, allocations: 44 kB / 1.504 GB, free: 8.133 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.531, allocations: 1.668 MB / 1.506 GB, free: 6.461 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002113/0.5312, allocations: 191.4 kB / 1.506 GB, free: 6.273 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003005/0.5315, allocations: 302.5 kB / 1.506 GB, free: 5.977 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.5333, allocations: 1.316 MB / 1.508 GB, free: 4.656 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5333, allocations: 0 / 1.508 GB, free: 4.656 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.462e-06/0.5333, allocations: 0 / 1.508 GB, free: 4.656 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.5333, allocations: 0 / 1.508 GB, free: 4.656 MB / 1.201 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.001712/0.535, allocations: 0.9604 MB / 1.509 GB, free: 3.652 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.535, allocations: 12.03 kB / 1.509 GB, free: 3.641 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.5369, allocations: 291.2 kB / 1.509 GB, free: 3.355 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007714/0.5377, allocations: 410.6 kB / 1.509 GB, free: 2.93 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.5377, allocations: 29 kB / 1.509 GB, free: 2.902 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.929e-05/0.5378, allocations: 44 kB / 1.509 GB, free: 2.859 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009827/0.5388, allocations: 0.5468 MB / 1.51 GB, free: 2.281 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.5388, allocations: 4 kB / 1.51 GB, free: 2.277 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.5388, allocations: 19.94 kB / 1.51 GB, free: 2.258 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5389, allocations: 11.94 kB / 1.51 GB, free: 2.246 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009988/0.5399, allocations: 459.6 kB / 1.51 GB, free: 1.793 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/0.5424, allocations: 2.077 MB / 1.512 GB, free: 15.59 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.5434, allocations: 406.2 kB / 1.513 GB, free: 15.19 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004645/0.5439, allocations: 212.6 kB / 1.513 GB, free: 14.98 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005013/0.5444, allocations: 91.91 kB / 1.513 GB, free: 14.89 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006077/0.545, allocations: 295 kB / 1.513 GB, free: 14.59 MB / 1.217 GB Notification: Performance of pre-optimization done (n=37): time 1.863e-06/0.545, allocations: 4 kB / 1.513 GB, free: 14.58 MB / 1.217 GB Notification: Performance of matching and sorting (n=37): time 0.0017/0.5467, allocations: 0.6901 MB / 1.514 GB, free: 13.89 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.5468, allocations: 55.41 kB / 1.514 GB, free: 13.82 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.5473, allocations: 0.4942 MB / 1.515 GB, free: 13.31 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.5474, allocations: 33.7 kB / 1.515 GB, free: 13.27 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.5476, allocations: 264.4 kB / 1.515 GB, free: 13.01 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.5477, allocations: 134.9 kB / 1.515 GB, free: 12.88 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.5478, allocations: 86.12 kB / 1.515 GB, free: 12.79 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.548, allocations: 362.8 kB / 1.515 GB, free: 12.43 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004573/0.5485, allocations: 200.8 kB / 1.516 GB, free: 12.23 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005437/0.549, allocations: 311.7 kB / 1.516 GB, free: 11.89 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000988/0.55, allocations: 0.5457 MB / 1.516 GB, free: 11.29 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.55, allocations: 4 kB / 1.516 GB, free: 11.29 MB / 1.217 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001249/0.5512, allocations: 0.6447 MB / 1.517 GB, free: 10.62 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.5513, allocations: 63.39 kB / 1.517 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5513, allocations: 0 / 1.517 GB, free: 10.55 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.837e-05/0.5513, allocations: 8 kB / 1.517 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.5518, allocations: 95.81 kB / 1.517 GB, free: 10.45 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.5518, allocations: 8 kB / 1.517 GB, free: 10.44 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.5522, allocations: 79.83 kB / 1.517 GB, free: 10.36 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.5523, allocations: 20 kB / 1.517 GB, free: 10.34 MB / 1.217 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.0002308/0.5525, allocations: 201.5 kB / 1.518 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.371e-05/0.5526, allocations: 55.62 kB / 1.518 GB, free: 10.08 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.5537, allocations: 0.5331 MB / 1.518 GB, free: 9.531 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5537, allocations: 4 kB / 1.518 GB, free: 9.527 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5538, allocations: 3.938 kB / 1.518 GB, free: 9.523 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.5538, allocations: 7.984 kB / 1.518 GB, free: 9.516 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.556, allocations: 1.322 MB / 1.519 GB, free: 8.102 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.556, allocations: 7.938 kB / 1.519 GB, free: 8.094 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/0.5563, allocations: 72.39 kB / 1.52 GB, free: 8.023 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.5564, allocations: 11.98 kB / 1.52 GB, free: 8.012 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.5564, allocations: 16 kB / 1.52 GB, free: 7.996 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/0.5564, allocations: 7.938 kB / 1.52 GB, free: 7.988 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5564, allocations: 4 kB / 1.52 GB, free: 7.984 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.558, allocations: 0.9297 MB / 1.52 GB, free: 6.992 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.5582, allocations: 103.4 kB / 1.521 GB, free: 6.891 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.5583, allocations: 12.06 kB / 1.521 GB, free: 6.879 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004204/0.5587, allocations: 35.95 kB / 1.521 GB, free: 6.844 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.5588, allocations: 51.81 kB / 1.521 GB, free: 6.793 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.109e-05/0.5589, allocations: 15.98 kB / 1.521 GB, free: 6.777 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000396/0.5593, allocations: 350.8 kB / 1.521 GB, free: 6.438 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5593, allocations: 0 / 1.521 GB, free: 6.438 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005056/0.5598, allocations: 147.9 kB / 1.521 GB, free: 6.293 MB / 1.217 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.0004253/0.5602, allocations: 202.3 kB / 1.521 GB, free: 6.094 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.5613, allocations: 0.5801 MB / 1.522 GB, free: 5.488 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5613, allocations: 0 / 1.522 GB, free: 5.488 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.562, allocations: 281.3 kB / 1.522 GB, free: 5.215 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.5632, allocations: 282.3 kB / 1.522 GB, free: 4.945 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.5649, allocations: 1.049 MB / 1.523 GB, free: 3.824 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.5654, allocations: 0.8665 MB / 1.524 GB, free: 2.93 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.000402/0.5658, allocations: 128.7 kB / 1.524 GB, free: 2.805 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.5659, allocations: 43.38 kB / 1.524 GB, free: 2.762 MB / 1.217 GB Notification: Performance of SimCode: time 3.11e-07/0.5659, allocations: 0 / 1.524 GB, free: 2.762 MB / 1.217 GB Notification: Performance of Templates: time 0.01901/0.585, allocations: 11.16 MB / 1.535 GB, free: 7.754 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.656150724738836]