Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.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.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002277/0.002277, 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.002025/0.002025, allocations: 192.8 kB / 16.14 MB, free: 6.703 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.595/1.595, 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.019/3.019, allocations: 472.6 MB / 0.7447 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002569/0.002569, allocations: 69.3 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4234, 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.TimerNegativeStartTime): time 0.002441/0.4259, allocations: 0.7332 MB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001639/0.4276, allocations: 1.166 MB / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.4276, allocations: 0 / 1.069 GB, free: 9.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.111e-05/0.4277, allocations: 11.92 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.66e-05/0.4278, allocations: 11.86 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000476/0.4283, allocations: 123.3 kB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.4284, allocations: 131.8 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.4285, allocations: 4 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.286e-05/0.4286, allocations: 51.89 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.887e-05/0.4287, allocations: 47.88 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.4287, allocations: 8 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.225e-05/0.4288, allocations: 23.98 kB / 1.07 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.228e-05/0.4289, allocations: 27.83 kB / 1.07 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 9.657e-05/0.429, allocations: 47.84 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.4292, allocations: 116 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4292, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4292, allocations: 0 / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.4292, 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006595/0.4299, allocations: 433 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4299, allocations: 8.031 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.43, allocations: 12.84 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.4304, allocations: 208.5 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.4304, allocations: 8.375 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.315e-05/0.4305, allocations: 8.375 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.4306, allocations: 94.12 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4307, allocations: 7.938 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.4307, allocations: 0 / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.4307, allocations: 4 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.518e-05/0.4308, allocations: 39.97 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005919/0.4314, allocations: 356.5 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.4316, allocations: 102.5 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.4317, allocations: 40.84 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.062e-05/0.4317, allocations: 0 / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.4319, allocations: 127.3 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.4319, allocations: 0 / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0003826/0.4323, allocations: 204.6 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.4324, allocations: 63.55 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.4325, allocations: 109.8 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.4325, allocations: 37.7 kB / 1.072 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.1e-05/0.4326, allocations: 88.12 kB / 1.072 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.4326, allocations: 23.72 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.502e-05/0.4327, allocations: 45.69 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4328, allocations: 322.8 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.433, allocations: 51.88 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.4331, allocations: 93.8 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.4333, allocations: 129.9 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4333, allocations: 4 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003308/0.4336, allocations: 211.1 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/0.4337, allocations: 37.64 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4337, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.4337, allocations: 4 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.4338, allocations: 19.92 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4338, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.434, allocations: 36.03 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.434, allocations: 15.98 kB / 1.073 GB, free: 5.25 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: 16 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition5,$whenCondition6,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 9.758e-05/0.4341, allocations: 129.7 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.4342, allocations: 7.906 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.4342, allocations: 20.48 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.4342, allocations: 7.922 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4342, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4342, allocations: 0 / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004015/0.4346, allocations: 430.5 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4346, allocations: 4 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.4347, allocations: 8 kB / 1.073 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4347, allocations: 3.938 kB / 1.073 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.809e-05/0.4347, allocations: 3.984 kB / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4347, allocations: 0 / 1.073 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4347, allocations: 4 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.435, allocations: 270.1 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.989e-05/0.435, allocations: 84.95 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.4351, allocations: 7.984 kB / 1.074 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.4352, allocations: 4 kB / 1.074 GB, free: 4.188 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.4352, allocations: 15.97 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.4352, allocations: 15.92 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.4353, allocations: 87.58 kB / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4353, allocations: 0 / 1.074 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002668/0.4356, allocations: 32 kB / 1.074 GB, free: 4.039 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: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001735/0.4358, allocations: 120.7 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003145/0.4361, allocations: 191.3 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4361, allocations: 0 / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.4362, allocations: 79.89 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.4365, allocations: 11.98 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.437, allocations: 208.6 kB / 1.074 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.4373, allocations: 0.6926 MB / 1.075 GB, free: 2.676 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.722e-05/0.4374, allocations: 12.55 kB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.051e-05/0.4374, allocations: 11.44 kB / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of SimCode: time 5.71e-07/0.4374, allocations: 0 / 1.075 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of Templates: time 0.004414/0.4418, allocations: 1.521 MB / 1.077 GB, free: 1.141 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)