Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001919/0.001919, 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.002779/0.002779, allocations: 195.6 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.504/1.504, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.12/3.12, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 62.8 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.426/0.4273, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002493/0.4299, allocations: 0.7279 MB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4316, allocations: 1.17 MB / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.288e-05/0.4317, allocations: 0 / 1.069 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.85e-05/0.4318, allocations: 7.922 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.4319, allocations: 11.92 kB / 1.069 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006993/0.4326, allocations: 126.8 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.4328, allocations: 127.8 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.433, allocations: 15.98 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.4331, allocations: 47.91 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.4333, allocations: 51.8 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.4333, allocations: 8 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001005/0.4334, allocations: 12 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.252e-05/0.4335, allocations: 19.97 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.4336, allocations: 55.83 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.4339, allocations: 120 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.4339, allocations: 3.938 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.266e-06/0.4339, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.4339, allocations: 3.938 kB / 1.07 GB, free: 8.383 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.0008603/0.4348, allocations: 418.6 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.4348, allocations: 8.031 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.4349, allocations: 16.84 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.4354, allocations: 208.5 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.276e-05/0.4354, allocations: 12.31 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.4355, allocations: 12.38 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002189/0.4357, allocations: 94.12 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.4357, allocations: 3.938 kB / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.4358, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.4358, allocations: 0 / 1.071 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.4359, allocations: 39.97 kB / 1.071 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000812/0.4367, allocations: 364.5 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.4369, allocations: 94.58 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.994e-05/0.437, allocations: 36.84 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.437, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.4374, allocations: 127.3 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 2.004e-06/0.4374, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004564/0.4378, allocations: 205.5 kB / 1.072 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.4379, allocations: 59.41 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.438, allocations: 109.8 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.438, allocations: 33.7 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.4381, allocations: 100.3 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/0.4382, allocations: 19.72 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.14e-05/0.4382, allocations: 49.69 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4384, allocations: 322.8 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4385, allocations: 51.89 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.4386, allocations: 88.25 kB / 1.072 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.4388, allocations: 137.4 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4388, allocations: 3.938 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003786/0.4392, allocations: 207.2 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.675e-05/0.4393, allocations: 33.7 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.4393, allocations: 4.125 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.4393, allocations: 3.938 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/0.4394, allocations: 19.92 kB / 1.073 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.4394, allocations: 4 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/0.4397, allocations: 35.84 kB / 1.073 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.453e-05/0.4397, allocations: 11.98 kB / 1.073 GB, free: 5.23 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 0.0001171/0.4398, allocations: 137.7 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.4398, allocations: 15.89 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.4399, allocations: 12.48 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/0.4399, allocations: 4 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4399, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.4399, allocations: 0 / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000509/0.4404, allocations: 430.5 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.4404, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.4405, allocations: 7.938 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.4405, allocations: 4 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4405, allocations: 7.984 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4405, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4405, allocations: 0 / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.4409, allocations: 262.5 kB / 1.074 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.835e-05/0.441, allocations: 88.95 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.441, allocations: 7.984 kB / 1.074 GB, free: 4.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.4411, allocations: 7.984 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.4412, allocations: 19.98 kB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.4412, allocations: 11.92 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.148e-05/0.4413, allocations: 87.28 kB / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4413, allocations: 0 / 1.074 GB, free: 4.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002976/0.4416, allocations: 35.98 kB / 1.074 GB, free: 4.016 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.0002438/0.4418, allocations: 110.2 kB / 1.074 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000353/0.4422, allocations: 195.5 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4422, allocations: 0 / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.4423, allocations: 75.91 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.4426, allocations: 15.98 kB / 1.074 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000526/0.4432, allocations: 208.3 kB / 1.074 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.4435, allocations: 0.6927 MB / 1.075 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.4435, allocations: 12.55 kB / 1.075 GB, free: 2.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.4436, allocations: 11.44 kB / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.4436, allocations: 0 / 1.075 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of Templates: time 0.004844/0.4484, allocations: 1.523 MB / 1.077 GB, free: 1.121 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)