Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001434/0.001434, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001576/0.001576, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.619/1.619, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.96/2.96, allocations: 475.9 MB / 0.7699 GB, free: 4.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002107/0.002107, allocations: 68.92 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.413, allocations: 170 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.2421/0.6551, allocations: 160.6 MB / 1.44 GB, free: 10.65 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.007988/0.6631, allocations: 4.162 MB / 1.444 GB, free: 6.48 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009328/0.664, allocations: 27.75 kB / 1.444 GB, free: 6.453 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.6652, allocations: 254.1 kB / 1.444 GB, free: 6.203 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.6679, allocations: 0.7698 MB / 1.445 GB, free: 5.43 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004773/0.6727, allocations: 1.541 MB / 1.446 GB, free: 3.887 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002341/0.675, allocations: 1.274 MB / 1.448 GB, free: 2.609 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008211/0.6758, allocations: 345.8 kB / 1.448 GB, free: 2.258 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.6773, allocations: 0.6072 MB / 1.449 GB, free: 1.648 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.6782, allocations: 402.2 kB / 1.449 GB, free: 1.254 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001979/0.6784, allocations: 48 kB / 1.449 GB, free: 1.207 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.6814, allocations: 1.262 MB / 1.45 GB, free: 15.94 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000343/0.6818, allocations: 191.4 kB / 1.451 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.6823, allocations: 262.7 kB / 1.451 GB, free: 15.5 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003195/0.6855, allocations: 1.25 MB / 1.452 GB, free: 14.24 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6855, allocations: 0 / 1.452 GB, free: 14.24 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6855, allocations: 0 / 1.452 GB, free: 14.24 MB / 1.154 GB Notification: Performance of Transformations before backend: time 2.441e-05/0.6855, allocations: 0 / 1.452 GB, free: 14.24 MB / 1.154 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.002304/0.6878, allocations: 0.9643 MB / 1.453 GB, free: 13.23 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.6879, allocations: 8.031 kB / 1.453 GB, free: 13.23 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002102/0.69, allocations: 295.2 kB / 1.453 GB, free: 12.94 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.691, allocations: 406.5 kB / 1.454 GB, free: 12.52 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.896e-05/0.6911, allocations: 33 kB / 1.454 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.6912, allocations: 44 kB / 1.454 GB, free: 12.44 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6924, allocations: 0.5546 MB / 1.454 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.6924, allocations: 0 / 1.454 GB, free: 11.85 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.6924, allocations: 16 kB / 1.454 GB, free: 11.84 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.6924, allocations: 11.94 kB / 1.454 GB, free: 11.82 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.6936, allocations: 455.5 kB / 1.455 GB, free: 11.38 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.6965, allocations: 1.69 MB / 1.456 GB, free: 9.625 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.6975, allocations: 390.5 kB / 1.457 GB, free: 9.234 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.6981, allocations: 212.7 kB / 1.457 GB, free: 9.023 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005593/0.6986, allocations: 96.5 kB / 1.457 GB, free: 8.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006946/0.6993, allocations: 296.4 kB / 1.457 GB, free: 8.629 MB / 1.154 GB Notification: Performance of pre-optimization done (n=37): time 2.705e-06/0.6993, allocations: 0 / 1.457 GB, free: 8.629 MB / 1.154 GB Notification: Performance of matching and sorting (n=37): time 0.001921/0.7012, allocations: 0.6852 MB / 1.458 GB, free: 7.938 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.7013, allocations: 59.41 kB / 1.458 GB, free: 7.867 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005274/0.7018, allocations: 385.9 kB / 1.458 GB, free: 7.48 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.7019, allocations: 37.69 kB / 1.458 GB, free: 7.438 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002785/0.7022, allocations: 276.5 kB / 1.459 GB, free: 7.164 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/0.7024, allocations: 134.9 kB / 1.459 GB, free: 7.031 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.7026, allocations: 90.08 kB / 1.459 GB, free: 6.938 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002719/0.7028, allocations: 358.8 kB / 1.459 GB, free: 6.578 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.7034, allocations: 248.2 kB / 1.459 GB, free: 6.324 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.7042, allocations: 0.4888 MB / 1.46 GB, free: 5.758 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.7053, allocations: 0.5563 MB / 1.46 GB, free: 5.148 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.7053, allocations: 4 kB / 1.46 GB, free: 5.145 MB / 1.154 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001489/0.7068, allocations: 0.7025 MB / 1.461 GB, free: 4.41 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.7069, allocations: 63.41 kB / 1.461 GB, free: 4.336 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.7069, allocations: 7.984 kB / 1.461 GB, free: 4.328 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.7069, allocations: 4 kB / 1.461 GB, free: 4.324 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004985/0.7074, allocations: 100.2 kB / 1.461 GB, free: 4.227 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.7074, allocations: 8 kB / 1.461 GB, free: 4.219 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.7079, allocations: 67.73 kB / 1.461 GB, free: 4.152 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.708, allocations: 20 kB / 1.461 GB, free: 4.133 MB / 1.154 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.0002735/0.7083, allocations: 185.8 kB / 1.462 GB, free: 3.941 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.167e-05/0.7083, allocations: 55.61 kB / 1.462 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.7097, allocations: 0.5288 MB / 1.462 GB, free: 3.348 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.7097, allocations: 4 kB / 1.462 GB, free: 3.344 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.7097, allocations: 0 / 1.462 GB, free: 3.344 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.7097, allocations: 3.984 kB / 1.462 GB, free: 3.34 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.7124, allocations: 1.227 MB / 1.463 GB, free: 2.031 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.7124, allocations: 4 kB / 1.463 GB, free: 2.027 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004304/0.7129, allocations: 71.89 kB / 1.463 GB, free: 1.957 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.7129, allocations: 4 kB / 1.463 GB, free: 1.953 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.7129, allocations: 19.92 kB / 1.463 GB, free: 1.934 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/0.7129, allocations: 7.938 kB / 1.463 GB, free: 1.926 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.7129, allocations: 4 kB / 1.463 GB, free: 1.922 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001966/0.7149, allocations: 0.9263 MB / 1.464 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.7152, allocations: 83.59 kB / 1.464 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.7153, allocations: 24 kB / 1.464 GB, free: 0.8281 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004275/0.7158, allocations: 35.95 kB / 1.465 GB, free: 0.793 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.7159, allocations: 43.88 kB / 1.465 GB, free: 0.75 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.803e-05/0.7159, allocations: 23.94 kB / 1.465 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003635/0.7163, allocations: 259.1 kB / 1.465 GB, free: 492 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7163, allocations: 0 / 1.465 GB, free: 492 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0007223/0.717, allocations: 171.7 kB / 1.465 GB, free: 320 kB / 1.154 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.0004001/0.7174, allocations: 190.9 kB / 1.465 GB, free: 120 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.7189, allocations: 0.6232 MB / 1.466 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.403e-06/0.7189, allocations: 4 kB / 1.466 GB, free: 15.45 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0006897/0.7196, allocations: 274.1 kB / 1.466 GB, free: 15.19 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7207, allocations: 205.6 kB / 1.466 GB, free: 14.99 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.7229, allocations: 1.033 MB / 1.467 GB, free: 13.88 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.7232, allocations: 269.8 kB / 1.468 GB, free: 13.59 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0004522/0.7237, allocations: 112.1 kB / 1.468 GB, free: 13.48 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.7238, allocations: 39.38 kB / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of SimCode: time 6.51e-07/0.7238, allocations: 0 / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of Templates: time 0.02029/0.7441, allocations: 9.888 MB / 1.477 GB, free: 3.781 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.106974180787802]