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.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.001651/0.001651, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00192/0.00192, allocations: 190.7 kB / 22.1 MB, free: 4.305 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.513/1.513, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.003/3.003, allocations: 495.8 MB / 0.783 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.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: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 63.89 kB / 1.137 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.15, allocations: 173.6 MB / 1.307 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2575/1.408, allocations: 180.8 MB / 1.483 GB, free: 0.5234 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.007544/1.415, allocations: 4.469 MB / 1.488 GB, free: 12.05 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008842/1.416, allocations: 27.75 kB / 1.488 GB, free: 12.02 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008427/1.417, allocations: 250.1 kB / 1.488 GB, free: 11.78 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002442/1.419, allocations: 0.7932 MB / 1.489 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004673/1.424, allocations: 1.604 MB / 1.49 GB, free: 9.375 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002252/1.426, allocations: 1.262 MB / 1.491 GB, free: 8.109 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006948/1.427, allocations: 369.8 kB / 1.492 GB, free: 7.734 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002108/1.429, allocations: 0.8175 MB / 1.493 GB, free: 6.914 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/1.43, allocations: 430.2 kB / 1.493 GB, free: 6.492 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 8.979e-05/1.43, allocations: 48 kB / 1.493 GB, free: 6.445 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/1.433, allocations: 1.258 MB / 1.494 GB, free: 5.184 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000281/1.433, allocations: 187.4 kB / 1.495 GB, free: 5 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0004349/1.433, allocations: 310.5 kB / 1.495 GB, free: 4.695 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/1.436, allocations: 1.249 MB / 1.496 GB, free: 3.445 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.436, allocations: 4 kB / 1.496 GB, free: 3.441 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.435e-06/1.436, allocations: 0 / 1.496 GB, free: 3.441 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.436, allocations: 0 / 1.496 GB, free: 3.441 MB / 1.17 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.002107/1.438, allocations: 0.9526 MB / 1.497 GB, free: 2.445 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/1.438, allocations: 16.03 kB / 1.497 GB, free: 2.43 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/1.441, allocations: 283.3 kB / 1.497 GB, free: 2.152 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000918/1.441, allocations: 406.6 kB / 1.498 GB, free: 1.727 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/1.442, allocations: 36.94 kB / 1.498 GB, free: 1.691 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/1.442, allocations: 44 kB / 1.498 GB, free: 1.648 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/1.443, allocations: 0.5507 MB / 1.498 GB, free: 1.066 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/1.443, allocations: 0 / 1.498 GB, free: 1.066 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.101e-05/1.443, allocations: 20 kB / 1.498 GB, free: 1.047 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.443, allocations: 15.94 kB / 1.498 GB, free: 1.031 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/1.444, allocations: 455.6 kB / 1.499 GB, free: 0.5859 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/1.447, allocations: 2.077 MB / 1.501 GB, free: 14.39 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.448, allocations: 390.3 kB / 1.501 GB, free: 14 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/1.449, allocations: 220.6 kB / 1.501 GB, free: 13.78 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/1.449, allocations: 91.91 kB / 1.501 GB, free: 13.69 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007004/1.45, allocations: 287.1 kB / 1.502 GB, free: 13.39 MB / 1.186 GB Notification: Performance of pre-optimization done (n=37): time 2.154e-06/1.45, allocations: 0 / 1.502 GB, free: 13.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=37): time 0.002016/1.452, allocations: 0.6983 MB / 1.502 GB, free: 12.69 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.452, allocations: 55.41 kB / 1.502 GB, free: 12.62 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/1.453, allocations: 494.1 kB / 1.503 GB, free: 12.13 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/1.453, allocations: 37.7 kB / 1.503 GB, free: 12.09 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/1.453, allocations: 260.5 kB / 1.503 GB, free: 11.83 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.453, allocations: 130.9 kB / 1.503 GB, free: 11.7 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/1.453, allocations: 94.08 kB / 1.503 GB, free: 11.6 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001987/1.454, allocations: 358.8 kB / 1.504 GB, free: 11.24 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005384/1.454, allocations: 200.8 kB / 1.504 GB, free: 11.04 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/1.455, allocations: 315.7 kB / 1.504 GB, free: 10.7 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/1.456, allocations: 0.5526 MB / 1.505 GB, free: 10.09 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/1.456, allocations: 0 / 1.505 GB, free: 10.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001416/1.457, allocations: 0.6486 MB / 1.505 GB, free: 9.426 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 6.909e-05/1.457, allocations: 67.39 kB / 1.505 GB, free: 9.348 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.457, allocations: 4 kB / 1.505 GB, free: 9.344 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/1.457, allocations: 7.938 kB / 1.505 GB, free: 9.336 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/1.458, allocations: 95.88 kB / 1.506 GB, free: 9.242 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.458, allocations: 4 kB / 1.506 GB, free: 9.238 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000561/1.459, allocations: 83.73 kB / 1.506 GB, free: 9.156 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/1.459, allocations: 20 kB / 1.506 GB, free: 9.137 MB / 1.186 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.0002708/1.459, allocations: 197.6 kB / 1.506 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.927e-05/1.459, allocations: 55.67 kB / 1.506 GB, free: 8.879 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/1.46, allocations: 0.5408 MB / 1.506 GB, free: 8.324 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.46, allocations: 4 kB / 1.506 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.46, allocations: 0 / 1.506 GB, free: 8.32 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/1.46, allocations: 3.984 kB / 1.506 GB, free: 8.316 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/1.463, allocations: 1.32 MB / 1.508 GB, free: 6.902 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.463, allocations: 11.88 kB / 1.508 GB, free: 6.891 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004361/1.463, allocations: 75.89 kB / 1.508 GB, free: 6.816 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/1.463, allocations: 12.36 kB / 1.508 GB, free: 6.805 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.182e-05/1.463, allocations: 20.06 kB / 1.508 GB, free: 6.785 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.463, allocations: 4 kB / 1.508 GB, free: 6.781 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/1.463, allocations: 7.938 kB / 1.508 GB, free: 6.773 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/1.465, allocations: 0.933 MB / 1.509 GB, free: 5.777 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/1.465, allocations: 103.4 kB / 1.509 GB, free: 5.676 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.233e-05/1.466, allocations: 12 kB / 1.509 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/1.466, allocations: 40.02 kB / 1.509 GB, free: 5.625 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/1.466, allocations: 47.81 kB / 1.509 GB, free: 5.578 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.839e-05/1.466, allocations: 19.98 kB / 1.509 GB, free: 5.559 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0004712/1.467, allocations: 346.8 kB / 1.509 GB, free: 5.223 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.3e-07/1.467, allocations: 4 kB / 1.509 GB, free: 5.219 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0006228/1.467, allocations: 147.8 kB / 1.509 GB, free: 5.074 MB / 1.186 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.0005101/1.468, allocations: 191.8 kB / 1.51 GB, free: 4.887 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001307/1.469, allocations: 0.5684 MB / 1.51 GB, free: 4.293 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/1.469, allocations: 4 kB / 1.51 GB, free: 4.289 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0007212/1.47, allocations: 283.4 kB / 1.51 GB, free: 4.016 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.471, allocations: 282.9 kB / 1.511 GB, free: 3.746 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/1.473, allocations: 1.054 MB / 1.512 GB, free: 2.621 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000539/1.474, allocations: 0.8704 MB / 1.513 GB, free: 1.723 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0004604/1.474, allocations: 128.7 kB / 1.513 GB, free: 1.598 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/1.474, allocations: 43.44 kB / 1.513 GB, free: 1.555 MB / 1.186 GB Notification: Performance of SimCode: time 7.61e-07/1.474, allocations: 0 / 1.513 GB, free: 1.555 MB / 1.186 GB Notification: Performance of Templates: time 0.02162/1.496, allocations: 11.16 MB / 1.524 GB, free: 6.551 MB / 1.201 GB " [Timeout remaining time 298] 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/jenkins/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: 10.336113258264959]