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.001028/0.001028, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001069/0.001069, allocations: 166 kB / 24.87 MB, free: 9.258 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 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.805/1.805, allocations: 359 MB / 0.6063 GB, free: 10.88 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.163e-06/1.163e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.468e-05/1.584e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureDryBulb): time 0.1391/0.1391, allocations: 145.2 MB / 0.9301 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002563/0.1417, allocations: 1.758 MB / 0.9318 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.142, allocations: 27.75 kB / 0.9319 GB, free: 8.746 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0003674/0.1423, allocations: 134.8 kB / 0.932 GB, free: 8.613 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0008573/0.1432, allocations: 0.5086 MB / 0.9325 GB, free: 8.102 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009318/0.1441, allocations: 0.6779 MB / 0.9331 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.0009272/0.145, allocations: 1.25 MB / 0.9344 GB, free: 6.164 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004267/0.1455, allocations: 389.7 kB / 0.9347 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.1461, allocations: 0.6235 MB / 0.9353 GB, free: 5.156 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003764/0.1465, allocations: 354.9 kB / 0.9357 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.1466, allocations: 51.94 kB / 0.9357 GB, free: 4.758 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003862/0.147, allocations: 331.1 kB / 0.9361 GB, free: 4.434 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.1471, allocations: 199.3 kB / 0.9362 GB, free: 4.238 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1473, allocations: 215.5 kB / 0.9364 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0006196/0.1479, allocations: 0.6385 MB / 0.9371 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1479, allocations: 0 / 0.9371 GB, free: 3.387 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1479, allocations: 4 kB / 0.9371 GB, free: 3.383 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.1479, allocations: 0 / 0.9371 GB, free: 3.383 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.001459/0.1494, allocations: 0.9752 MB / 0.938 GB, free: 2.355 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1494, allocations: 12.03 kB / 0.938 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/0.1505, allocations: 387.4 kB / 0.9384 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.151, allocations: 401.4 kB / 0.9388 GB, free: 1.547 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.151, allocations: 33 kB / 0.9388 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.1511, allocations: 55.88 kB / 0.9389 GB, free: 1.457 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.1515, allocations: 405.4 kB / 0.9393 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1515, allocations: 0 / 0.9393 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.1516, allocations: 16 kB / 0.9393 GB, free: 1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1516, allocations: 12 kB / 0.9393 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.1518, allocations: 138.8 kB / 0.9394 GB, free: 0.8516 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.001516/0.1533, allocations: 2.039 MB / 0.9414 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.1536, allocations: 155.1 kB / 0.9416 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.667e-05/0.1537, allocations: 67.66 kB / 0.9416 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.1538, allocations: 51.94 kB / 0.9417 GB, free: 14.45 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.1541, allocations: 160.8 kB / 0.9418 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=37): time 1.743e-06/0.1541, allocations: 0 / 0.9418 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of matching and sorting (n=37): time 0.0005184/0.1546, allocations: 303.3 kB / 0.9421 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1546, allocations: 63.34 kB / 0.9422 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.1549, allocations: 414.3 kB / 0.9426 GB, free: 13.49 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.404e-05/0.1549, allocations: 37.7 kB / 0.9426 GB, free: 13.45 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.155, allocations: 331.1 kB / 0.9429 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.1551, allocations: 130.8 kB / 0.943 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.1552, allocations: 103.8 kB / 0.9431 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1554, allocations: 0.5273 MB / 0.9437 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.1555, allocations: 104.4 kB / 0.9438 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.1557, allocations: 384.6 kB / 0.9441 GB, free: 11.75 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005826/0.1563, allocations: 311 kB / 0.9444 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1563, allocations: 0 / 0.9444 GB, free: 11.38 MB / 0.9011 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0004238/0.1567, allocations: 439.8 kB / 0.9448 GB, free: 10.92 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.1567, allocations: 69.58 kB / 0.9449 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.1568, allocations: 4 kB / 0.9449 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1568, allocations: 4 kB / 0.9449 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.157, allocations: 91.89 kB / 0.945 GB, free: 10.74 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.157, allocations: 15.88 kB / 0.945 GB, free: 10.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.1572, allocations: 60.02 kB / 0.9451 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.1572, allocations: 20 kB / 0.9451 GB, free: 10.65 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.000138/0.1574, allocations: 184.5 kB / 0.9453 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.1574, allocations: 55.72 kB / 0.9453 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.1578, allocations: 293.5 kB / 0.9456 GB, free: 10.11 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1578, allocations: 4 kB / 0.9456 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.1578, allocations: 0 / 0.9456 GB, free: 10.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.1578, allocations: 7.922 kB / 0.9456 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000814/0.1586, allocations: 0.8266 MB / 0.9464 GB, free: 9.176 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.1586, allocations: 4 kB / 0.9464 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.1588, allocations: 67.89 kB / 0.9465 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.1588, allocations: 4.438 kB / 0.9465 GB, free: 9.102 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.1588, allocations: 20 kB / 0.9465 GB, free: 9.082 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.1588, allocations: 11.94 kB / 0.9465 GB, free: 9.07 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1588, allocations: 4 kB / 0.9465 GB, free: 9.066 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.1593, allocations: 0.571 MB / 0.9471 GB, free: 8.414 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1594, allocations: 79.56 kB / 0.9472 GB, free: 8.336 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.262e-05/0.1594, allocations: 15.98 kB / 0.9472 GB, free: 8.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1596, allocations: 23.98 kB / 0.9472 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.885e-05/0.1597, allocations: 59.77 kB / 0.9473 GB, free: 8.238 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1597, allocations: 16 kB / 0.9473 GB, free: 8.223 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000135/0.1598, allocations: 259 kB / 0.9475 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1598, allocations: 0 / 0.9475 GB, free: 7.973 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003394/0.1602, allocations: 167.7 kB / 0.9477 GB, free: 7.809 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.0002281/0.1604, allocations: 140.5 kB / 0.9478 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.1608, allocations: 378.3 kB / 0.9482 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1608, allocations: 0 / 0.9482 GB, free: 7.254 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.1609, allocations: 111.9 kB / 0.9483 GB, free: 7.145 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006614/0.1615, allocations: 213.5 kB / 0.9485 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.163, allocations: 0.9852 MB / 0.9495 GB, free: 5.852 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.713e-05/0.163, allocations: 137.8 kB / 0.9496 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001999/0.1632, allocations: 64.17 kB / 0.9496 GB, free: 5.633 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003463/0.1636, allocations: 242 kB / 0.9499 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of SimCode: time 1.333e-06/0.1636, allocations: 0 / 0.9499 GB, free: 5.395 MB / 0.9011 GB Notification: Performance of Templates: time 0.01284/0.1764, allocations: 9.767 MB / 0.9594 GB, free: 11.89 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.53177939215675]