Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001276/0.001276, allocations: 199.2 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.21/3.21, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001889, allocations: 60.17 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4676, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002538/0.4702, allocations: 0.7955 MB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.4722, allocations: 1.287 MB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.4722, allocations: 0 / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.4723, allocations: 7.922 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.316e-05/0.4724, allocations: 11.92 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007026/0.4731, allocations: 219.2 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.4733, allocations: 231.5 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4735, allocations: 28.19 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.4736, allocations: 79.88 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.4738, allocations: 83.7 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.4738, allocations: 15.94 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.468e-05/0.4739, allocations: 27.98 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.374e-05/0.474, allocations: 27.95 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.4741, allocations: 87.67 kB / 1.07 GB, free: 7.941 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.4744, allocations: 219.6 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4744, allocations: 0 / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.42e-07/0.4744, allocations: 0 / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.4744, allocations: 0 / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009336/0.4753, allocations: 0.4908 MB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4754, allocations: 12.02 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.233e-05/0.4755, allocations: 20.75 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.4761, allocations: 246.1 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.458e-05/0.4762, allocations: 16.36 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.4762, allocations: 20.31 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.4765, allocations: 135.9 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4765, allocations: 3.938 kB / 1.071 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.4765, allocations: 7.984 kB / 1.071 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4765, allocations: 11.98 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.4767, allocations: 63.89 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008345/0.4775, allocations: 0.5045 MB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003386/0.4779, allocations: 157.2 kB / 1.072 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.478, allocations: 65.69 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.478, allocations: 4 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.4784, allocations: 215.9 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.543e-06/0.4784, allocations: 0 / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0006062/0.479, allocations: 306.1 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.4791, allocations: 89.05 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.4792, allocations: 137.1 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.964e-05/0.4793, allocations: 45.69 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.4793, allocations: 100.5 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.4794, allocations: 47.41 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.4795, allocations: 81.98 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4797, allocations: 318.8 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.4799, allocations: 88.23 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.4801, allocations: 160.1 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/0.4805, allocations: 243 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.4805, allocations: 0 / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006782/0.4812, allocations: 352.7 kB / 1.074 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.38e-05/0.4813, allocations: 68.73 kB / 1.074 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4813, allocations: 4.219 kB / 1.074 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.4813, allocations: 4 kB / 1.074 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-05/0.4814, allocations: 20 kB / 1.074 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4814, allocations: 11.86 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.4818, allocations: 63.78 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.4818, allocations: 19.98 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001414/0.482, allocations: 148 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.482, allocations: 19.8 kB / 1.075 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.4821, allocations: 12.5 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4821, allocations: 4 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4821, allocations: 3.938 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4821, allocations: 0 / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.4827, allocations: 0.6176 MB / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4827, allocations: 0 / 1.075 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.991e-05/0.4828, allocations: 11.94 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4828, allocations: 7.938 kB / 1.075 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.4828, allocations: 12.08 kB / 1.075 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4828, allocations: 7.875 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4828, allocations: 0 / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004705/0.4833, allocations: 426.4 kB / 1.076 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.4833, allocations: 88.95 kB / 1.076 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.4834, allocations: 15.92 kB / 1.076 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.4835, allocations: 11.98 kB / 1.076 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.4836, allocations: 19.95 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.4836, allocations: 19.98 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.4837, allocations: 95.27 kB / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4837, allocations: 0 / 1.076 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003534/0.4841, allocations: 55.98 kB / 1.076 GB, free: 1.641 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00021/0.4843, allocations: 121 kB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005017/0.4848, allocations: 338.6 kB / 1.076 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.4848, allocations: 0 / 1.076 GB, free: 1.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.485, allocations: 123.9 kB / 1.077 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.4854, allocations: 33.89 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.486, allocations: 290.2 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4863, allocations: 0.7128 MB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.8e-05/0.4864, allocations: 17.48 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.4865, allocations: 23.42 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.4865, allocations: 0 / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of Templates: time 0.006203/0.4927, allocations: 2.477 MB / 1.08 GB, free: 13.46 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)