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.0007086/0.0007086, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007695/0.0007695, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8538/0.8538, allocations: 177.1 MB / 203.5 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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 1.743/1.743, allocations: 389.1 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.849e-05/3.017e-05, allocations: 6.219 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.6709/0.6709, allocations: 160.5 MB / 1.158 GB, free: 15.2 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.005051/0.6759, allocations: 4.126 MB / 1.162 GB, free: 12.4 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003432/0.6763, allocations: 27.47 kB / 1.162 GB, free: 12.39 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.6769, allocations: 257.1 kB / 1.162 GB, free: 12.22 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.001654/0.6786, allocations: 0.7751 MB / 1.163 GB, free: 11.79 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.6815, allocations: 1.603 MB / 1.164 GB, free: 11 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001111/0.6826, allocations: 1.225 MB / 1.165 GB, free: 10.42 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004392/0.6831, allocations: 327.5 kB / 1.166 GB, free: 10.28 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001383/0.6844, allocations: 0.9712 MB / 1.167 GB, free: 9.863 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004062/0.6848, allocations: 354.5 kB / 1.167 GB, free: 9.75 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 6.186e-05/0.6849, allocations: 45.25 kB / 1.167 GB, free: 9.75 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.6867, allocations: 1.266 MB / 1.168 GB, free: 9.27 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.6869, allocations: 195.9 kB / 1.169 GB, free: 9.176 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.6871, allocations: 212.8 kB / 1.169 GB, free: 9.094 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.00151/0.6886, allocations: 1.32 MB / 1.17 GB, free: 8.656 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6886, allocations: 1.922 kB / 1.17 GB, free: 8.656 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.774e-06/0.6886, allocations: 0 / 1.17 GB, free: 8.656 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.6886, allocations: 0 / 1.17 GB, free: 8.656 MB / 1.026 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.001197/0.6898, allocations: 0.955 MB / 1.171 GB, free: 7.973 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6898, allocations: 10 kB / 1.171 GB, free: 7.973 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.691, allocations: 292.7 kB / 1.171 GB, free: 7.91 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.6915, allocations: 394.1 kB / 1.172 GB, free: 7.648 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.6916, allocations: 32.7 kB / 1.172 GB, free: 7.633 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-05/0.6916, allocations: 49.5 kB / 1.172 GB, free: 7.613 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.6924, allocations: 0.5473 MB / 1.172 GB, free: 7.359 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.6924, allocations: 1.312 kB / 1.172 GB, free: 7.359 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.6924, allocations: 16.64 kB / 1.172 GB, free: 7.348 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.6924, allocations: 13.25 kB / 1.172 GB, free: 7.348 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.6931, allocations: 458.8 kB / 1.173 GB, free: 7.215 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001844/0.6949, allocations: 1.688 MB / 1.174 GB, free: 6.012 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.6956, allocations: 397.8 kB / 1.175 GB, free: 5.887 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.6959, allocations: 213.6 kB / 1.175 GB, free: 5.824 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.6962, allocations: 91.44 kB / 1.175 GB, free: 5.816 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.6966, allocations: 288.4 kB / 1.175 GB, free: 5.715 MB / 1.026 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.6966, allocations: 0 / 1.175 GB, free: 5.715 MB / 1.026 GB Notification: Performance of matching and sorting (n=37): time 0.001158/0.6978, allocations: 0.6824 MB / 1.176 GB, free: 5.5 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.6978, allocations: 65.75 kB / 1.176 GB, free: 5.43 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.6982, allocations: 378.4 kB / 1.176 GB, free: 5.238 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.6982, allocations: 38.69 kB / 1.176 GB, free: 5.199 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.6984, allocations: 266.4 kB / 1.177 GB, free: 4.98 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 8.457e-05/0.6985, allocations: 128.5 kB / 1.177 GB, free: 4.879 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.6986, allocations: 94.34 kB / 1.177 GB, free: 4.828 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6987, allocations: 355.6 kB / 1.177 GB, free: 4.496 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.699, allocations: 255.5 kB / 1.177 GB, free: 4.379 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004426/0.6995, allocations: 0.4968 MB / 1.178 GB, free: 3.988 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006639/0.7001, allocations: 0.5408 MB / 1.178 GB, free: 3.68 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7002, allocations: 1.281 kB / 1.178 GB, free: 3.68 MB / 1.026 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008602/0.701, allocations: 0.6996 MB / 1.179 GB, free: 3.34 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.7011, allocations: 68.55 kB / 1.179 GB, free: 3.273 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7011, allocations: 2.375 kB / 1.179 GB, free: 3.273 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.7011, allocations: 9.375 kB / 1.179 GB, free: 3.27 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/0.7013, allocations: 93.97 kB / 1.179 GB, free: 3.262 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.7013, allocations: 10.14 kB / 1.179 GB, free: 3.258 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.7016, allocations: 68.05 kB / 1.179 GB, free: 3.23 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/0.7016, allocations: 21.94 kB / 1.179 GB, free: 3.227 MB / 1.026 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.0001687/0.7018, allocations: 196.5 kB / 1.18 GB, free: 3.066 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.7018, allocations: 46.56 kB / 1.18 GB, free: 3.043 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000773/0.7026, allocations: 0.5261 MB / 1.18 GB, free: 2.848 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.7026, allocations: 8.625 kB / 1.18 GB, free: 2.844 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7026, allocations: 4 kB / 1.18 GB, free: 2.84 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.7026, allocations: 3.328 kB / 1.18 GB, free: 2.84 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001445/0.704, allocations: 1.218 MB / 1.181 GB, free: 2.203 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.704, allocations: 3.562 kB / 1.181 GB, free: 2.203 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.7043, allocations: 71.42 kB / 1.181 GB, free: 2.199 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.7043, allocations: 5.688 kB / 1.181 GB, free: 2.199 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.7043, allocations: 16.55 kB / 1.181 GB, free: 2.191 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.7043, allocations: 12.83 kB / 1.181 GB, free: 2.184 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7043, allocations: 5.625 kB / 1.182 GB, free: 2.184 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.7054, allocations: 0.9254 MB / 1.182 GB, free: 1.703 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.7055, allocations: 93.14 kB / 1.182 GB, free: 1.652 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.7056, allocations: 13.11 kB / 1.183 GB, free: 1.648 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.7057, allocations: 39.06 kB / 1.183 GB, free: 1.641 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.234e-05/0.7058, allocations: 50.25 kB / 1.183 GB, free: 1.625 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.7059, allocations: 16.78 kB / 1.183 GB, free: 1.621 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001974/0.7061, allocations: 261.3 kB / 1.183 GB, free: 1.496 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.7061, allocations: 4.062 kB / 1.183 GB, free: 1.492 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003816/0.7064, allocations: 156.5 kB / 1.183 GB, free: 1.465 MB / 1.026 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.000268/0.7067, allocations: 181.8 kB / 1.183 GB, free: 1.344 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.000776/0.7075, allocations: 0.6384 MB / 1.184 GB, free: 1.012 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7075, allocations: 0 / 1.184 GB, free: 1.012 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.7079, allocations: 251.5 kB / 1.184 GB, free: 0.9453 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.7085, allocations: 190.8 kB / 1.184 GB, free: 0.8828 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.7097, allocations: 1.006 MB / 1.185 GB, free: 244 kB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.7099, allocations: 262 kB / 1.185 GB, free: 140 kB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.71, allocations: 47.25 kB / 1.186 GB, free: 124 kB / 1.026 GB Notification: Performance of SimCode: time 5.51e-07/0.71, allocations: 0 / 1.186 GB, free: 124 kB / 1.026 GB Notification: Performance of Templates: time 0.008284/0.7183, allocations: 8.087 MB / 1.193 GB, free: 13.77 MB / 1.042 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.160932480357587]