Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001207/0.001207, allocations: 184.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 95.47 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.51e-05, allocations: 11.98 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6751/0.6751, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.8769, allocations: 138.8 MB / 1.109 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.8772, allocations: 64.53 kB / 1.109 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01208/0.8894, allocations: 3.964 MB / 1.113 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8894, allocations: 3.938 kB / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.8894, allocations: 4 kB / 1.113 GB, free: 7.355 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009568/0.8904, allocations: 0.5349 MB / 1.113 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.8904, allocations: 8.031 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.8906, allocations: 36.36 kB / 1.113 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000156/0.8908, allocations: 178.9 kB / 1.114 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.8908, allocations: 7.984 kB / 1.114 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.8909, allocations: 35.98 kB / 1.114 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002514/0.8912, allocations: 111.2 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003829/0.8916, allocations: 228.8 kB / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.8916, allocations: 0 / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.8916, allocations: 7.984 kB / 1.114 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.8917, allocations: 4 kB / 1.114 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000969/0.8926, allocations: 0.5521 MB / 1.115 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004869/0.8931, allocations: 384.3 kB / 1.115 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.8934, allocations: 188.8 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.02e-05/0.8934, allocations: 8 kB / 1.115 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005462/0.894, allocations: 345.2 kB / 1.115 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.944e-06/0.894, allocations: 7.938 kB / 1.115 GB, free: 4.566 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.000766/0.8948, allocations: 478 kB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.8948, allocations: 67.39 kB / 1.116 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.895, allocations: 126.4 kB / 1.116 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.895, allocations: 45.62 kB / 1.116 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.8951, allocations: 93.45 kB / 1.116 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.8952, allocations: 106.7 kB / 1.116 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.199e-05/0.8953, allocations: 4 kB / 1.116 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.8954, allocations: 338.8 kB / 1.117 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.8956, allocations: 125.3 kB / 1.117 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.896, allocations: 274.6 kB / 1.117 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.8964, allocations: 157.1 kB / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.8965, allocations: 0 / 1.117 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0009255/0.8974, allocations: 479.1 kB / 1.118 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.848e-05/0.8975, allocations: 75.33 kB / 1.118 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.8975, allocations: 4 kB / 1.118 GB, free: 2.125 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.8975, allocations: 8.562 kB / 1.118 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.8977, allocations: 43.86 kB / 1.118 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.8977, allocations: 8 kB / 1.118 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.8982, allocations: 103.7 kB / 1.118 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.8982, allocations: 28 kB / 1.118 GB, free: 1.938 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001602/0.8984, allocations: 154 kB / 1.118 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006243/0.899, allocations: 484.9 kB / 1.118 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.156e-05/0.8991, allocations: 35.7 kB / 1.119 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.716e-05/0.8991, allocations: 22.19 kB / 1.119 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.8992, allocations: 4 kB / 1.119 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.8992, allocations: 3.953 kB / 1.119 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.8992, allocations: 3.984 kB / 1.119 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.9006, allocations: 0.9634 MB / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9006, allocations: 0 / 1.119 GB, free: 220 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.888e-05/0.9007, allocations: 19.92 kB / 1.12 GB, free: 200 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.9007, allocations: 4 kB / 1.12 GB, free: 196 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.9008, allocations: 19.91 kB / 1.12 GB, free: 176 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.9008, allocations: 4 kB / 1.12 GB, free: 172 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.9008, allocations: 3.938 kB / 1.12 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007644/0.9016, allocations: 0.6131 MB / 1.12 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.9017, allocations: 89.67 kB / 1.12 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.9017, allocations: 15.98 kB / 1.12 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.9019, allocations: 31.95 kB / 1.12 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.902, allocations: 51.92 kB / 1.12 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.9021, allocations: 35.97 kB / 1.12 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.9022, allocations: 91.22 kB / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9022, allocations: 0 / 1.12 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000445/0.9026, allocations: 99.97 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001315/0.904, allocations: 1.342 MB / 1.122 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007799/0.9047, allocations: 0.4996 MB / 1.122 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9048, allocations: 4.125 kB / 1.122 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.9051, allocations: 283.8 kB / 1.123 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.9054, allocations: 28.89 kB / 1.123 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000946/0.9064, allocations: 396.5 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.9068, allocations: 0.7427 MB / 1.124 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9.29e-05/0.9069, allocations: 27.28 kB / 1.124 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.9071, allocations: 67.41 kB / 1.124 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of SimCode: time 2.505e-06/0.9071, allocations: 0 / 1.124 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.934, allocations: 5.172 MB / 1.129 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.9343, allocations: 157.6 kB / 1.129 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/2.674, allocations: 6.047 kB / 1.129 GB, free: 6.336 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)