Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.276/2.276, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 191.4 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 107.5 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 54 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.311, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.002234/0.3133, allocations: 0.722 MB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3148, allocations: 1.168 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.3149, allocations: 4 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.3149, allocations: 3.938 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.315, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004502/0.3155, allocations: 131.3 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.3156, allocations: 135.7 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.759e-05/0.3157, allocations: 7.984 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 7.079e-05/0.3158, allocations: 47.91 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.716e-05/0.3159, allocations: 55.8 kB / 1.22 GB, free: 115 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.3159, allocations: 4 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.016e-05/0.316, allocations: 19.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.429e-05/0.316, allocations: 19.98 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.599e-05/0.3161, allocations: 51.83 kB / 1.22 GB, free: 114.9 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.3163, allocations: 121.8 kB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3163, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3163, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.999e-06/0.3163, allocations: 0 / 1.221 GB, free: 114.7 MB / 0.823 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.0006278/0.317, allocations: 417.1 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.317, allocations: 15.97 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.3171, allocations: 16.84 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.3175, allocations: 216.3 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.3175, allocations: 8.359 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.3175, allocations: 8.375 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.3177, allocations: 86.19 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3177, allocations: 7.922 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.3177, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3177, allocations: 4 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.128e-05/0.3178, allocations: 47.91 kB / 1.221 GB, free: 113.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.3183, allocations: 348.7 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.3185, allocations: 94.53 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.3186, allocations: 40.84 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.3186, allocations: 4 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002289/0.3188, allocations: 131.2 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3188, allocations: 0 / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=13): time 0.0003225/0.3192, allocations: 197.6 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.3192, allocations: 55.41 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.3193, allocations: 117.8 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.3193, allocations: 37.64 kB / 1.222 GB, free: 112.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.3193, allocations: 84.14 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.421e-05/0.3194, allocations: 39.69 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.3194, allocations: 41.7 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.3195, allocations: 326.8 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.921e-05/0.3196, allocations: 47.97 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.629e-05/0.3197, allocations: 93.75 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.3198, allocations: 133.9 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3198, allocations: 0 / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002645/0.3201, allocations: 221.4 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.3201, allocations: 34.8 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3202, allocations: 0 / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3202, allocations: 4 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.3202, allocations: 19.98 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.3203, allocations: 3.938 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.3204, allocations: 27.97 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.927e-05/0.3205, allocations: 12 kB / 1.223 GB, free: 111.6 MB / 0.823 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 7.941e-05/0.3206, allocations: 134.5 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.3206, allocations: 11.91 kB / 1.223 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.3206, allocations: 8.5 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3206, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-05/0.3207, allocations: 0 / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3207, allocations: 3.984 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.321, allocations: 442.4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.321, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.321, allocations: 4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.321, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.321, allocations: 0 / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3211, allocations: 4 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3211, allocations: 3.984 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003872/0.3215, allocations: 0.8557 MB / 1.225 GB, free: 110 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.335e-05/0.3215, allocations: 77.11 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.3215, allocations: 15.92 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.3216, allocations: 4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.3217, allocations: 19.97 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.3217, allocations: 4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.814e-05/0.3217, allocations: 91.2 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3217, allocations: 3.938 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003368/0.3221, allocations: 32 kB / 1.225 GB, free: 109.7 MB / 0.823 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.0001444/0.3222, allocations: 115.2 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002365/0.3224, allocations: 191.3 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3225, allocations: 0 / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.948e-05/0.3225, allocations: 71.92 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.3228, allocations: 16.3 kB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003901/0.3232, allocations: 347.4 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.3233, allocations: 0.6963 MB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 4.137e-05/0.3234, allocations: 12.5 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.698e-05/0.3234, allocations: 23.42 kB / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.01e-07/0.3234, allocations: 0 / 1.226 GB, free: 108.2 MB / 0.823 GB Notification: Performance of Templates: time 0.003501/0.3269, allocations: 1.59 MB / 1.228 GB, free: 106.6 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1)