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.0008552/0.0008554, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.007029/0.007029, allocations: 172.4 kB / 16.27 MB, free: 6.652 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.613/1.613, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.018/3.018, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003953, allocations: 12.34 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4366, allocations: 162.2 MB / 1.074 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001213/0.4379, allocations: 403.8 kB / 1.075 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.4398, allocations: 1.17 MB / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.4399, allocations: 0 / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.4399, allocations: 0 / 1.076 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.605e-05/0.44, allocations: 3.938 kB / 1.076 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005372/0.4405, allocations: 131.2 kB / 1.076 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.4407, allocations: 135.7 kB / 1.076 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.4408, allocations: 7.984 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.063e-05/0.4409, allocations: 51.89 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.4411, allocations: 39.88 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.646e-05/0.4411, allocations: 8 kB / 1.076 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.135e-05/0.4412, allocations: 23.92 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.4412, allocations: 19.91 kB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.904e-05/0.4413, allocations: 73.55 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.4415, allocations: 128 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4415, allocations: 0 / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4415, allocations: 0 / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.4415, allocations: 4 kB / 1.076 GB, free: 5.312 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.000605/0.4421, allocations: 393.1 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4422, allocations: 12.03 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.4423, allocations: 12.84 kB / 1.077 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.4427, allocations: 212.5 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.4428, allocations: 4.375 kB / 1.077 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.4428, allocations: 16.36 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.443, allocations: 82.14 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.443, allocations: 3.938 kB / 1.077 GB, free: 4.492 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.443, allocations: 11.98 kB / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.443, allocations: 0 / 1.077 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.4431, allocations: 39.97 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006548/0.4438, allocations: 364.5 kB / 1.077 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.444, allocations: 94.53 kB / 1.077 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.4441, allocations: 48.84 kB / 1.078 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.4441, allocations: 3.938 kB / 1.078 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.4444, allocations: 135.1 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.4444, allocations: 0 / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13): time 0.0004294/0.4448, allocations: 201.5 kB / 1.078 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.4449, allocations: 63.39 kB / 1.078 GB, free: 3.461 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.445, allocations: 109.8 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.445, allocations: 33.7 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.664e-05/0.4451, allocations: 88.05 kB / 1.078 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.4452, allocations: 31.7 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.415e-05/0.4452, allocations: 17.72 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4454, allocations: 326.8 kB / 1.078 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4455, allocations: 47.97 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.4456, allocations: 93.77 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4458, allocations: 133.9 kB / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4458, allocations: 0 / 1.079 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003283/0.4462, allocations: 215.2 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.4462, allocations: 33.7 kB / 1.079 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4462, allocations: 3.938 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.4463, allocations: 4 kB / 1.079 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.73e-05/0.4463, allocations: 12 kB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.4463, allocations: 3.984 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4466, allocations: 51.94 kB / 1.079 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.4466, allocations: 16 kB / 1.079 GB, free: 2.176 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.0001288/0.4467, allocations: 133.6 kB / 1.079 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.4468, allocations: 7.906 kB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.416e-05/0.4468, allocations: 8.5 kB / 1.079 GB, free: 2.02 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4468, allocations: 8 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.4468, allocations: 0 / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4468, allocations: 3.938 kB / 1.079 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004298/0.4473, allocations: 437.6 kB / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4473, allocations: 0 / 1.08 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.684e-05/0.4473, allocations: 4 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4473, allocations: 0 / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4473, allocations: 4 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4473, allocations: 0 / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4474, allocations: 4 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.4476, allocations: 267.3 kB / 1.08 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.575e-05/0.4477, allocations: 92.95 kB / 1.08 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.4477, allocations: 4 kB / 1.08 GB, free: 1.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.068e-05/0.4478, allocations: 7.984 kB / 1.08 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.491e-05/0.4479, allocations: 19.91 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.517e-05/0.4479, allocations: 11.94 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.4479, allocations: 91.27 kB / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.448, allocations: 0 / 1.08 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002712/0.4482, allocations: 32 kB / 1.08 GB, free: 0.9648 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.0002103/0.4484, allocations: 119.7 kB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003177/0.4488, allocations: 191.3 kB / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4488, allocations: 0 / 1.08 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.4489, allocations: 76.17 kB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002885/0.4492, allocations: 15.17 kB / 1.081 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.4497, allocations: 207.2 kB / 1.081 GB, free: 328 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.45, allocations: 0.6965 MB / 1.081 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.615e-05/0.4501, allocations: 12.55 kB / 1.081 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.4501, allocations: 11.44 kB / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of SimCode: time 2.01e-07/0.4501, allocations: 0 / 1.081 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of Templates: time 0.004588/0.4547, allocations: 1.509 MB / 1.083 GB, free: 14.08 MB / 0.8419 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)