Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001685/0.001685, allocations: 193.8 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.853/1.853, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.729/1.729, allocations: 251.7 MB / 0.5088 GB, free: 3.383 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 55.92 kB / 0.6216 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7536, allocations: 104.7 MB / 0.7238 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.003004/0.7567, allocations: 1.479 MB / 0.7253 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003809/0.7571, allocations: 148.4 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.7571, allocations: 0 / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.7572, allocations: 0 / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.621e-05/0.7573, allocations: 11.88 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.7574, allocations: 11.98 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.7575, allocations: 47.84 kB / 0.7255 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.7576, allocations: 15.98 kB / 0.7255 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.7577, allocations: 12 kB / 0.7255 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.668e-05/0.7578, allocations: 23.84 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.7578, allocations: 4 kB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.211e-05/0.7578, allocations: 0 / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.7579, allocations: 8 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.517e-05/0.7579, allocations: 19.84 kB / 0.7256 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.921e-05/0.758, allocations: 35.88 kB / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.758, allocations: 0 / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.758, allocations: 0 / 0.7256 GB, free: 11.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.758, allocations: 4 kB / 0.7256 GB, free: 11.36 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007055/0.7588, allocations: 393.2 kB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.7588, allocations: 8.031 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.7588, allocations: 8.922 kB / 0.726 GB, free: 10.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.759, allocations: 176.3 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.759, allocations: 384 / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.759, allocations: 8.375 kB / 0.7262 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.7592, allocations: 62.22 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.7593, allocations: 192 / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.7593, allocations: 3.938 kB / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7593, allocations: 0 / 0.7262 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001774/0.7595, allocations: 51.89 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.76, allocations: 300.6 kB / 0.7266 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.7603, allocations: 58.55 kB / 0.7266 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.7604, allocations: 28.98 kB / 0.7266 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.7604, allocations: 0 / 0.7266 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.7605, allocations: 34.5 kB / 0.7267 GB, free: 10.09 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.7605, allocations: 0 / 0.7267 GB, free: 10.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0003784/0.7609, allocations: 89.64 kB / 0.7268 GB, free: 9.996 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7609, allocations: 55.34 kB / 0.7268 GB, free: 9.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.761, allocations: 117.8 kB / 0.7269 GB, free: 9.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.7611, allocations: 25.7 kB / 0.7269 GB, free: 9.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.7611, allocations: 92.12 kB / 0.727 GB, free: 9.68 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.7612, allocations: 11.81 kB / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.7612, allocations: 13.72 kB / 0.7271 GB, free: 9.648 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7613, allocations: 322.8 kB / 0.7274 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.7615, allocations: 31.92 kB / 0.7274 GB, free: 9.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.7615, allocations: 19.98 kB / 0.7274 GB, free: 9.273 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.7617, allocations: 44.81 kB / 0.7275 GB, free: 9.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.7617, allocations: 0 / 0.7275 GB, free: 9.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002025/0.7619, allocations: 73.66 kB / 0.7275 GB, free: 9.148 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.762, allocations: 9.875 kB / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.762, allocations: 0 / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.762, allocations: 0 / 0.7275 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.915e-05/0.7621, allocations: 11.98 kB / 0.7276 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7621, allocations: 0 / 0.7276 GB, free: 9.129 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.7622, allocations: 23.91 kB / 0.7276 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.7622, allocations: 4 kB / 0.7276 GB, free: 9.102 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001036/0.7623, allocations: 113.8 kB / 0.7277 GB, free: 8.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.7623, allocations: 8.234 kB / 0.7277 GB, free: 8.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.7626, allocations: 85.53 kB / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.7626, allocations: 0 / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.7626, allocations: 0 / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7627, allocations: 0 / 0.7278 GB, free: 8.875 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.7629, allocations: 169.6 kB / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7629, allocations: 0 / 0.7279 GB, free: 8.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/0.7629, allocations: 15.98 kB / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7629, allocations: 0 / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.016e-06/0.763, allocations: 0 / 0.728 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.763, allocations: 3.938 kB / 0.728 GB, free: 8.641 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.763, allocations: 4 kB / 0.728 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.7632, allocations: 167.4 kB / 0.7281 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.7633, allocations: 89.02 kB / 0.7282 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.7633, allocations: 0 / 0.7282 GB, free: 8.352 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.7635, allocations: 15.92 kB / 0.7282 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.7635, allocations: 11.98 kB / 0.7282 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.7636, allocations: 0 / 0.7282 GB, free: 8.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.055e-05/0.7636, allocations: 95.58 kB / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7636, allocations: 0 / 0.7283 GB, free: 8.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000214/0.7638, allocations: 11.94 kB / 0.7283 GB, free: 8.219 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001756/0.764, allocations: 99.25 kB / 0.7284 GB, free: 8.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002347/0.7643, allocations: 51.89 kB / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7643, allocations: 0 / 0.7285 GB, free: 8.062 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.467e-05/0.7644, allocations: 27.97 kB / 0.7285 GB, free: 8.035 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.7648, allocations: 13.06 kB / 0.7285 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/0.7651, allocations: 127.3 kB / 0.7286 GB, free: 7.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.7654, allocations: 0.6809 MB / 0.7293 GB, free: 7.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.544e-05/0.7655, allocations: 7.984 kB / 0.7293 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.7655, allocations: 7.438 kB / 0.7293 GB, free: 7.152 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.7655, allocations: 4 kB / 0.7293 GB, free: 7.148 MB / 0.545 GB Notification: Performance of Templates: time 0.00285/0.7684, allocations: 0.6745 MB / 0.73 GB, free: 6.488 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1)