Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, 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.001602/0.001602, allocations: 196.4 kB / 16.14 MB, free: 6.66 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.579/1.579, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.186/3.186, allocations: 472.6 MB / 0.7447 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.62 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.4516, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.002216/0.4539, allocations: 0.8067 MB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.4557, allocations: 1.174 MB / 1.069 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.4557, allocations: 3.938 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.4558, allocations: 0 / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.4559, allocations: 11.88 kB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.4564, allocations: 119.3 kB / 1.07 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000139/0.4565, allocations: 107.8 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4567, allocations: 15.98 kB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.4568, allocations: 43.84 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.4569, allocations: 39.81 kB / 1.07 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.579e-05/0.4569, allocations: 8 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.002e-05/0.457, allocations: 19.98 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.991e-05/0.4571, allocations: 15.98 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.739e-05/0.4572, allocations: 31.86 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/0.4574, allocations: 107.7 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4574, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4574, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.4574, allocations: 0 / 1.07 GB, free: 8.414 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007601/0.4581, allocations: 410.6 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.4582, allocations: 12.03 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.4583, allocations: 8.844 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.4584, allocations: 180.4 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.4585, allocations: 4.375 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4585, allocations: 4.375 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.4587, allocations: 70.16 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4587, allocations: 192 / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.4588, allocations: 3.938 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4588, allocations: 0 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.459, allocations: 43.95 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.4596, allocations: 336.7 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/0.4598, allocations: 62.48 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.4599, allocations: 40.95 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.4599, allocations: 3.938 kB / 1.071 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/0.4602, allocations: 87.42 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.4602, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000473/0.4607, allocations: 145.5 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.4607, allocations: 51.41 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4609, allocations: 121.8 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.4609, allocations: 29.7 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.461, allocations: 88.14 kB / 1.072 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.461, allocations: 19.8 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/0.4612, allocations: 41.69 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4614, allocations: 314.8 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.4616, allocations: 59.95 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.4618, allocations: 88.19 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.4621, allocations: 150.1 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.4621, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004616/0.4625, allocations: 211.1 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/0.4626, allocations: 33.69 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.4626, allocations: 8.125 kB / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.4626, allocations: 0 / 1.072 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.4628, allocations: 15.92 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.4628, allocations: 4 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.463, allocations: 39.81 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.463, allocations: 7.984 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001131/0.4631, allocations: 127 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.4632, allocations: 7.906 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.269e-05/0.4632, allocations: 8.375 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.4632, allocations: 7.984 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/0.4632, allocations: 3.984 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4632, allocations: 3.938 kB / 1.073 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004796/0.4637, allocations: 374.4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4637, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.4638, allocations: 15.98 kB / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4638, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.4638, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4638, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4638, allocations: 0 / 1.073 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.4642, allocations: 219.3 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.279e-05/0.4642, allocations: 81.02 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.4643, allocations: 4 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.469e-05/0.4644, allocations: 12.05 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.4644, allocations: 4 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.4644, allocations: 7.938 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.363e-05/0.4645, allocations: 91.27 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4645, allocations: 0 / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002567/0.4648, allocations: 24 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002468/0.465, allocations: 108.1 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.4654, allocations: 179.2 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4654, allocations: 0 / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4656, allocations: 43.91 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.4659, allocations: 20.19 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.4663, allocations: 168.5 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.4666, allocations: 0.6887 MB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.91e-05/0.4667, allocations: 15.77 kB / 1.075 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.006e-05/0.4667, allocations: 11.44 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.4667, allocations: 0 / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of Templates: time 0.0043/0.471, allocations: 1.322 MB / 1.076 GB, free: 1.82 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)