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.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.00121/0.00121, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001341/0.001341, allocations: 216.4 kB / 23.01 MB, free: 5.125 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.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.948/2.948, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/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.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: 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.001883/0.001883, allocations: 64.19 kB / 1.178 GB, free: 16.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3139, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1993/0.5131, allocations: 185.7 MB / 1.535 GB, free: 13.56 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.006138/0.5193, allocations: 4.503 MB / 1.54 GB, free: 9.051 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004537/0.5197, allocations: 27.75 kB / 1.54 GB, free: 9.023 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0006401/0.5204, allocations: 246.1 kB / 1.54 GB, free: 8.781 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.001756/0.5221, allocations: 0.8009 MB / 1.541 GB, free: 7.977 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.5257, allocations: 1.602 MB / 1.542 GB, free: 6.375 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.5273, allocations: 1.266 MB / 1.544 GB, free: 5.105 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005666/0.5279, allocations: 369.7 kB / 1.544 GB, free: 4.738 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.5294, allocations: 0.8292 MB / 1.545 GB, free: 3.906 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005712/0.53, allocations: 422.3 kB / 1.545 GB, free: 3.492 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.5301, allocations: 44 kB / 1.545 GB, free: 3.449 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00277/0.5328, allocations: 1.664 MB / 1.547 GB, free: 1.781 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002087/0.533, allocations: 191.4 kB / 1.547 GB, free: 1.594 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.5334, allocations: 302.5 kB / 1.547 GB, free: 1.297 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.5353, allocations: 1.312 MB / 1.549 GB, free: 15.98 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5353, allocations: 3.984 kB / 1.549 GB, free: 15.98 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5353, allocations: 0 / 1.549 GB, free: 15.98 MB / 1.248 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.5354, allocations: 0 / 1.549 GB, free: 15.98 MB / 1.248 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.001665/0.537, allocations: 0.9682 MB / 1.55 GB, free: 14.96 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.5371, allocations: 12.03 kB / 1.55 GB, free: 14.95 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/0.5389, allocations: 287.2 kB / 1.55 GB, free: 14.67 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007675/0.5397, allocations: 406.6 kB / 1.55 GB, free: 14.25 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.5397, allocations: 36.98 kB / 1.55 GB, free: 14.21 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.5398, allocations: 43.98 kB / 1.55 GB, free: 14.17 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.5408, allocations: 0.5468 MB / 1.551 GB, free: 13.59 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5408, allocations: 0 / 1.551 GB, free: 13.59 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.093e-05/0.5408, allocations: 19.94 kB / 1.551 GB, free: 13.57 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.5408, allocations: 15.94 kB / 1.551 GB, free: 13.55 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009751/0.5418, allocations: 459.5 kB / 1.551 GB, free: 13.11 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.5444, allocations: 2.074 MB / 1.553 GB, free: 10.91 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009137/0.5453, allocations: 390.5 kB / 1.554 GB, free: 10.52 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/0.5458, allocations: 217.2 kB / 1.554 GB, free: 10.3 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005262/0.5463, allocations: 95.89 kB / 1.554 GB, free: 10.21 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.5469, allocations: 298.5 kB / 1.554 GB, free: 9.902 MB / 1.248 GB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.5469, allocations: 0 / 1.554 GB, free: 9.902 MB / 1.248 GB Notification: Performance of matching and sorting (n=37): time 0.001678/0.5486, allocations: 0.688 MB / 1.555 GB, free: 9.207 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.5486, allocations: 63.41 kB / 1.555 GB, free: 9.133 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005659/0.5492, allocations: 498 kB / 1.556 GB, free: 8.633 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.186e-05/0.5492, allocations: 37.7 kB / 1.556 GB, free: 8.59 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/0.5494, allocations: 260.5 kB / 1.556 GB, free: 8.332 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.5495, allocations: 130.9 kB / 1.556 GB, free: 8.203 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001541/0.5497, allocations: 90.08 kB / 1.556 GB, free: 8.109 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.5499, allocations: 366.8 kB / 1.556 GB, free: 7.742 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/0.5503, allocations: 200.8 kB / 1.557 GB, free: 7.547 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005659/0.5509, allocations: 307.7 kB / 1.557 GB, free: 7.203 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009979/0.5519, allocations: 0.5495 MB / 1.557 GB, free: 6.602 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5519, allocations: 0 / 1.557 GB, free: 6.602 MB / 1.248 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.00125/0.5531, allocations: 0.6525 MB / 1.558 GB, free: 5.93 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.5532, allocations: 63.39 kB / 1.558 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.5532, allocations: 0 / 1.558 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.5532, allocations: 8 kB / 1.558 GB, free: 5.848 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004351/0.5537, allocations: 91.88 kB / 1.558 GB, free: 5.758 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/0.5537, allocations: 15.88 kB / 1.558 GB, free: 5.742 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004843/0.5542, allocations: 83.89 kB / 1.558 GB, free: 5.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.974e-05/0.5542, allocations: 20 kB / 1.558 GB, free: 5.641 MB / 1.248 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.0002387/0.5545, allocations: 193.6 kB / 1.558 GB, free: 5.441 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.5545, allocations: 55.67 kB / 1.559 GB, free: 5.387 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.5557, allocations: 0.5459 MB / 1.559 GB, free: 4.836 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5557, allocations: 4 kB / 1.559 GB, free: 4.832 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.5557, allocations: 0 / 1.559 GB, free: 4.832 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5557, allocations: 0 / 1.559 GB, free: 4.832 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.558, allocations: 1.321 MB / 1.56 GB, free: 3.418 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.558, allocations: 7.938 kB / 1.56 GB, free: 3.41 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/0.5584, allocations: 80.31 kB / 1.56 GB, free: 3.332 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.5584, allocations: 4 kB / 1.56 GB, free: 3.328 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/0.5584, allocations: 12 kB / 1.56 GB, free: 3.316 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.5584, allocations: 4 kB / 1.56 GB, free: 3.312 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.5584, allocations: 11.92 kB / 1.56 GB, free: 3.301 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.5601, allocations: 0.9384 MB / 1.561 GB, free: 2.301 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.5603, allocations: 103.5 kB / 1.561 GB, free: 2.199 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.637e-05/0.5604, allocations: 8 kB / 1.561 GB, free: 2.191 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.5608, allocations: 35.95 kB / 1.562 GB, free: 2.156 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5609, allocations: 51.81 kB / 1.562 GB, free: 2.105 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.5609, allocations: 16 kB / 1.562 GB, free: 2.09 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0004203/0.5614, allocations: 354.8 kB / 1.562 GB, free: 1.746 MB / 1.248 GB Notification: Performance of sort global known variables: time 1e-07/0.5614, allocations: 0 / 1.562 GB, free: 1.746 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0005709/0.5619, allocations: 151.8 kB / 1.562 GB, free: 1.598 MB / 1.248 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.0003107/0.5622, allocations: 183 kB / 1.562 GB, free: 1.41 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001162/0.5634, allocations: 0.5682 MB / 1.563 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5634, allocations: 0 / 1.563 GB, free: 0.8164 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.564, allocations: 261.2 kB / 1.563 GB, free: 0.5625 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.5652, allocations: 286 kB / 1.563 GB, free: 300 kB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.567, allocations: 1.09 MB / 1.564 GB, free: 15.12 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.5675, allocations: 0.8704 MB / 1.565 GB, free: 14.22 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.5677, allocations: 47.44 kB / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of SimCode: time 4.71e-07/0.5677, allocations: 0 / 1.565 GB, free: 14.18 MB / 1.264 GB Notification: Performance of Templates: time 0.01298/0.5807, allocations: 9.105 MB / 1.574 GB, free: 5.156 MB / 1.264 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/jenkins1/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: 11.744328928005416]