Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009513/0.0009513, allocations: 81.86 kB / 20.68 MB, free: 3.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.03/1.03, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.883/1.883, allocations: 377.9 MB / 0.624 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.046e-06/3.046e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.681e-05, allocations: 2.312 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001422/0.001449, allocations: 0.6711 MB / 0.8127 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.002688, allocations: 1.202 MB / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.002747, allocations: 0 / 0.8138 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.016e-05/0.002777, allocations: 4.875 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.148e-05/0.002859, allocations: 15.88 kB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.003292, allocations: 140.7 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.003449, allocations: 144.4 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.145e-05/0.00353, allocations: 13.58 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.003642, allocations: 87.86 kB / 0.8142 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.003755, allocations: 43.86 kB / 0.8143 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.003777, allocations: 8 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.747e-05/0.003834, allocations: 28.86 kB / 0.8143 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/0.003857, allocations: 11.98 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.536e-05/0.003902, allocations: 44.67 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.004037, allocations: 99.73 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004039, allocations: 1.688 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.132e-06/0.004041, allocations: 4 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.004045, allocations: 0 / 0.8145 GB, free: 14.94 MB / 0.7761 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.000437/0.004482, allocations: 443.6 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.00452, allocations: 12.02 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.525e-05/0.004565, allocations: 20.89 kB / 0.8149 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.004698, allocations: 128.5 kB / 0.815 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.004715, allocations: 20.3 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.7e-05/0.004732, allocations: 10.12 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.004836, allocations: 86.83 kB / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004843, allocations: 192 / 0.8152 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.004853, allocations: 8.375 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.004858, allocations: 1.406 kB / 0.8152 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.692e-05/0.004895, allocations: 27.91 kB / 0.8152 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.005249, allocations: 321.4 kB / 0.8155 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.005369, allocations: 75 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.005409, allocations: 24.83 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.005418, allocations: 4 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000224/0.005642, allocations: 123.6 kB / 0.8157 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 4.178e-06/0.005646, allocations: 3.984 kB / 0.8157 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.000271/0.005917, allocations: 177.5 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.005952, allocations: 51.41 kB / 0.8159 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.00604, allocations: 165.9 kB / 0.8161 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.006065, allocations: 34.23 kB / 0.8161 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.006128, allocations: 143.6 kB / 0.8163 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.006156, allocations: 35.73 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.248e-05/0.006219, allocations: 51.86 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.006382, allocations: 0.4884 MB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.006455, allocations: 59.3 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.09e-05/0.006546, allocations: 118.3 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.006673, allocations: 127.4 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.006676, allocations: 0 / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000231/0.006907, allocations: 218.5 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.006942, allocations: 41.64 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.006949, allocations: 3.938 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.006962, allocations: 5.375 kB / 0.8174 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.202e-05/0.007024, allocations: 11.98 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007029, allocations: 7.938 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.007139, allocations: 28.69 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.007161, allocations: 16.92 kB / 0.8174 GB, free: 11.63 MB / 0.7761 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.0001053/0.007266, allocations: 165.8 kB / 0.8176 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.007284, allocations: 15.94 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.007323, allocations: 20.38 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.007326, allocations: 0.8438 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.007327, allocations: 0 / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.007331, allocations: 2.219 kB / 0.8176 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000514/0.007845, allocations: 388.7 kB / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.007847, allocations: 0 / 0.818 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.498e-05/0.007872, allocations: 7.984 kB / 0.818 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.007875, allocations: 4 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.007883, allocations: 3.938 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007884, allocations: 3.375 kB / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.007885, allocations: 0 / 0.818 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001872/0.008072, allocations: 303.8 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.008082, allocations: 7.891 kB / 0.8183 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.008104, allocations: 19.92 kB / 0.8183 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.87e-05/0.008153, allocations: 4 kB / 0.8183 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.008191, allocations: 15.97 kB / 0.8184 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.0082, allocations: 7.984 kB / 0.8184 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.008239, allocations: 128.5 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008239, allocations: 0 / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001951/0.008434, allocations: 35.98 kB / 0.8185 GB, free: 10.47 MB / 0.7761 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.0001517/0.008586, allocations: 108.4 kB / 0.8186 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.008783, allocations: 197.8 kB / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.008785, allocations: 0 / 0.8188 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.008836, allocations: 47.66 kB / 0.8189 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.009032, allocations: 21.02 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/0.009314, allocations: 202.4 kB / 0.8191 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.944e-05/0.009353, allocations: 64.06 kB / 0.8191 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.152e-05/0.009385, allocations: 5.688 kB / 0.8191 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.985e-05/0.009485, allocations: 99.2 kB / 0.8192 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of SimCode: time 1.203e-06/0.009486, allocations: 0 / 0.8192 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of Templates: time 0.003954/0.01344, allocations: 1.913 MB / 0.8211 GB, free: 7.805 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.115579322911799]