Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.00127/0.00127, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001458/0.001458, allocations: 189.9 kB / 16.25 MB, free: 6.645 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.512/1.512, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 472.6 MB / 0.7448 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.84 kB / 0.9115 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4676, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002408/0.47, allocations: 0.7994 MB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001892/0.472, allocations: 1.256 MB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.314e-05/0.472, allocations: 0 / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.476e-05/0.4721, allocations: 3.984 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4722, allocations: 15.86 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009112/0.4732, allocations: 227.1 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.4735, allocations: 267.5 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.4737, allocations: 20.2 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.4738, allocations: 95.86 kB / 1.07 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.474, allocations: 91.75 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.237e-05/0.4741, allocations: 24 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.4742, allocations: 28 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.636e-05/0.4743, allocations: 39.89 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000162/0.4744, allocations: 91.73 kB / 1.071 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.4748, allocations: 223.6 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.4748, allocations: 0 / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.486e-06/0.4748, allocations: 4 kB / 1.071 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.4749, allocations: 0 / 1.071 GB, free: 7.609 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.0009012/0.4758, allocations: 0.4907 MB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4758, allocations: 12.02 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.4759, allocations: 20.75 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006486/0.4766, allocations: 248.3 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.4766, allocations: 12.36 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.4767, allocations: 24.38 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.477, allocations: 141.8 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.477, allocations: 3.938 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.4771, allocations: 7.984 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.044e-05/0.4771, allocations: 0 / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.4772, allocations: 59.95 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009352/0.4782, allocations: 0.5201 MB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.4785, allocations: 153.2 kB / 1.072 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.4786, allocations: 65.73 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.4786, allocations: 4 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003778/0.479, allocations: 204.8 kB / 1.073 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.963e-06/0.479, allocations: 4 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22): time 0.0006443/0.4797, allocations: 309.3 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.4797, allocations: 93.19 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4799, allocations: 129.1 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.4799, allocations: 45.69 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.48, allocations: 92.61 kB / 1.073 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.593e-05/0.4801, allocations: 51.41 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.4802, allocations: 73.67 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4804, allocations: 330.8 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.4806, allocations: 88.23 kB / 1.074 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.4808, allocations: 156.1 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.4812, allocations: 255.2 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4812, allocations: 0 / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006004/0.4818, allocations: 352.7 kB / 1.075 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.248e-05/0.4819, allocations: 67.39 kB / 1.075 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.4819, allocations: 4 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.4819, allocations: 4 kB / 1.075 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.482, allocations: 15.94 kB / 1.075 GB, free: 3.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.4821, allocations: 11.92 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003559/0.4824, allocations: 68 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.4825, allocations: 19.98 kB / 1.075 GB, free: 3.172 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.0001636/0.4826, allocations: 144 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.4827, allocations: 19.8 kB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.481e-05/0.4827, allocations: 12.5 kB / 1.075 GB, free: 2.992 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.4827, allocations: 8 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.4828, allocations: 3.938 kB / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4828, allocations: 0 / 1.075 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006579/0.4834, allocations: 0.6174 MB / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4834, allocations: 0 / 1.076 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.44e-05/0.4835, allocations: 8 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4835, allocations: 7.875 kB / 1.076 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.4835, allocations: 7.984 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4835, allocations: 4.078 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4836, allocations: 7.984 kB / 1.076 GB, free: 2.273 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004267/0.484, allocations: 418.5 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.4841, allocations: 88.95 kB / 1.076 GB, free: 1.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/0.4841, allocations: 15.92 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.4843, allocations: 7.984 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.4843, allocations: 28.06 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.4844, allocations: 19.92 kB / 1.076 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.4844, allocations: 99.14 kB / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4844, allocations: 0 / 1.076 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003892/0.4848, allocations: 56 kB / 1.076 GB, free: 1.52 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.0002516/0.4851, allocations: 117.1 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.4857, allocations: 358.7 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4857, allocations: 0 / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.4859, allocations: 111.9 kB / 1.077 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.4863, allocations: 33.47 kB / 1.077 GB, free: 0.8828 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006926/0.487, allocations: 308.1 kB / 1.077 GB, free: 0.5508 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.4874, allocations: 0.7008 MB / 1.078 GB, free: 15.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.911e-05/0.4875, allocations: 29.52 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.4876, allocations: 19.44 kB / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.4876, allocations: 0 / 1.078 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of Templates: time 0.006542/0.4941, allocations: 2.614 MB / 1.08 GB, free: 13.18 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)