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.0009805/0.0009805, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009868/0.0009868, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9254/0.9254, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.746/1.746, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.[0-9,]+..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.[0-9,]+..m_flow|senRelTem.T_rel",fileNamePrefix="Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.619e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1596/0.1597, allocations: 145.2 MB / 0.9294 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002807/0.1625, allocations: 1.759 MB / 0.9311 GB, free: 8.758 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.1628, allocations: 27.75 kB / 0.9311 GB, free: 8.73 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.1632, allocations: 134.8 kB / 0.9312 GB, free: 8.598 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.1644, allocations: 0.5086 MB / 0.9317 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.166, allocations: 0.6857 MB / 0.9324 GB, free: 7.398 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1673, allocations: 1.25 MB / 0.9336 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.1678, allocations: 381.7 kB / 0.934 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.1685, allocations: 0.6234 MB / 0.9346 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.1688, allocations: 370.9 kB / 0.9349 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 5.544e-05/0.1689, allocations: 44 kB / 0.935 GB, free: 4.734 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005247/0.1694, allocations: 327.1 kB / 0.9353 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1695, allocations: 195.4 kB / 0.9355 GB, free: 4.223 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0001531/0.1697, allocations: 215.5 kB / 0.9357 GB, free: 4.012 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.1703, allocations: 0.6385 MB / 0.9363 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1703, allocations: 0 / 0.9363 GB, free: 3.371 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1703, allocations: 4 kB / 0.9363 GB, free: 3.367 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.1703, allocations: 0 / 0.9363 GB, free: 3.367 MB / 0.8855 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.0009865/0.1713, allocations: 0.9869 MB / 0.9373 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.1714, allocations: 12.02 kB / 0.9373 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.1729, allocations: 375.5 kB / 0.9377 GB, free: 1.949 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006211/0.1735, allocations: 417.3 kB / 0.9381 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.1736, allocations: 33 kB / 0.9381 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.206e-05/0.1736, allocations: 43.95 kB / 0.9381 GB, free: 1.438 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004256/0.174, allocations: 401.4 kB / 0.9385 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.1741, allocations: 7.984 kB / 0.9385 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/0.1741, allocations: 16 kB / 0.9385 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.1741, allocations: 11.98 kB / 0.9385 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001767/0.1743, allocations: 142.8 kB / 0.9387 GB, free: 0.8242 MB / 0.8855 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.001557/0.1758, allocations: 2.031 MB / 0.9407 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.1761, allocations: 155.1 kB / 0.9408 GB, free: 14.55 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.1762, allocations: 67.64 kB / 0.9409 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001981/0.1764, allocations: 63.88 kB / 0.9409 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002048/0.1766, allocations: 160.8 kB / 0.9411 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 3.086e-06/0.1766, allocations: 0 / 0.9411 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.0004983/0.1771, allocations: 311.2 kB / 0.9414 GB, free: 13.94 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.1771, allocations: 55.41 kB / 0.9414 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1774, allocations: 418.3 kB / 0.9418 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.1774, allocations: 33.7 kB / 0.9419 GB, free: 13.41 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.1776, allocations: 327.1 kB / 0.9422 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.1776, allocations: 138.8 kB / 0.9423 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1777, allocations: 103.8 kB / 0.9424 GB, free: 12.84 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.1779, allocations: 0.5273 MB / 0.9429 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.178, allocations: 104.4 kB / 0.943 GB, free: 12.19 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.1782, allocations: 380.5 kB / 0.9434 GB, free: 11.72 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.1784, allocations: 311 kB / 0.9437 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1784, allocations: 0 / 0.9437 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0003963/0.1788, allocations: 440 kB / 0.9441 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.591e-05/0.1789, allocations: 67.39 kB / 0.9442 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.1789, allocations: 4 kB / 0.9442 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1789, allocations: 4 kB / 0.9442 GB, free: 10.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.1791, allocations: 95.81 kB / 0.9443 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1791, allocations: 11.94 kB / 0.9443 GB, free: 10.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001984/0.1793, allocations: 59.7 kB / 0.9443 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.1794, allocations: 19.98 kB / 0.9444 GB, free: 10.62 MB / 0.9011 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.0001313/0.1795, allocations: 192.5 kB / 0.9445 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.1795, allocations: 55.72 kB / 0.9446 GB, free: 10.36 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003413/0.1799, allocations: 285.6 kB / 0.9449 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1799, allocations: 4 kB / 0.9449 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.1799, allocations: 0 / 0.9449 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1799, allocations: 7.922 kB / 0.9449 GB, free: 10.06 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008396/0.1807, allocations: 0.8383 MB / 0.9457 GB, free: 9.133 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.1807, allocations: 4 kB / 0.9457 GB, free: 9.129 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.1809, allocations: 63.91 kB / 0.9458 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1809, allocations: 4 kB / 0.9458 GB, free: 9.062 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1809, allocations: 12.44 kB / 0.9458 GB, free: 9.051 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.1809, allocations: 7.984 kB / 0.9458 GB, free: 9.043 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.181, allocations: 11.94 kB / 0.9458 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.1815, allocations: 0.5749 MB / 0.9464 GB, free: 8.375 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.1816, allocations: 83.55 kB / 0.9464 GB, free: 8.293 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.1816, allocations: 8 kB / 0.9464 GB, free: 8.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.1818, allocations: 27.97 kB / 0.9465 GB, free: 8.258 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.426e-05/0.1818, allocations: 55.8 kB / 0.9465 GB, free: 8.203 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1819, allocations: 16.03 kB / 0.9465 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001339/0.182, allocations: 258.9 kB / 0.9468 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.182, allocations: 0 / 0.9468 GB, free: 7.941 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006188/0.1826, allocations: 163.7 kB / 0.9469 GB, free: 7.781 MB / 0.9011 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.0002243/0.1828, allocations: 139.1 kB / 0.9471 GB, free: 7.637 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.1832, allocations: 382.4 kB / 0.9474 GB, free: 7.223 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.1832, allocations: 4 kB / 0.9474 GB, free: 7.219 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.1833, allocations: 106.2 kB / 0.9475 GB, free: 7.113 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006279/0.1839, allocations: 222 kB / 0.9478 GB, free: 6.895 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1853, allocations: 0.9774 MB / 0.9487 GB, free: 5.824 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.1854, allocations: 133.8 kB / 0.9488 GB, free: 5.672 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002097/0.1856, allocations: 76.16 kB / 0.9489 GB, free: 5.598 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003298/0.186, allocations: 238 kB / 0.9491 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of SimCode: time 9.71e-07/0.186, allocations: 7.938 kB / 0.9491 GB, free: 5.355 MB / 0.9011 GB Notification: Performance of Templates: time 0.01274/0.1987, allocations: 9.611 MB / 0.9585 GB, free: 11.99 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureDryBulb.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.322480909060687]