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.001187/0.001187, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.00123/0.00123, allocations: 171.5 kB / 24.87 MB, free: 9.258 MB / 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 0.9993/0.9993, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.94/1.94, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.164e-06/2.164e-06, allocations: 0 / 0.8128 GB, free: 336 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.573e-05/2.789e-05, allocations: 2.312 kB / 0.8128 GB, free: 332 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.004646/0.004674, allocations: 0.6676 MB / 0.8134 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.006158, allocations: 1.212 MB / 0.8146 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.006217, allocations: 0 / 0.8146 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.431e-05/0.006251, allocations: 7.922 kB / 0.8146 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.87e-05/0.00633, allocations: 3.938 kB / 0.8146 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.006766, allocations: 145.1 kB / 0.8148 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.006946, allocations: 143.7 kB / 0.8149 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.007032, allocations: 7.984 kB / 0.8149 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003141/0.01017, allocations: 84.52 kB / 0.815 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.01031, allocations: 44.41 kB / 0.815 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.01034, allocations: 13.38 kB / 0.8151 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.998e-05/0.01041, allocations: 27.97 kB / 0.8151 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.01044, allocations: 15.92 kB / 0.8151 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.906e-05/0.0105, allocations: 39.95 kB / 0.8151 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.0109, allocations: 104.9 kB / 0.8152 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.0109, allocations: 0 / 0.8152 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.072e-06/0.0109, allocations: 0 / 0.8152 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.117e-06/0.0109, allocations: 1.281 kB / 0.8152 GB, free: 13.83 MB / 0.7292 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.0004974/0.0114, allocations: 445.7 kB / 0.8157 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.01144, allocations: 9.281 kB / 0.8157 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.725e-05/0.01149, allocations: 24.88 kB / 0.8157 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.01165, allocations: 132.6 kB / 0.8158 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.01166, allocations: 12.36 kB / 0.8158 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.01169, allocations: 9.062 kB / 0.8158 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001209/0.01181, allocations: 92.17 kB / 0.8159 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.01181, allocations: 4.125 kB / 0.8159 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.01182, allocations: 384 / 0.8159 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.01183, allocations: 384 / 0.8159 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.477e-05/0.01187, allocations: 28.44 kB / 0.816 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.01227, allocations: 314.2 kB / 0.8163 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.0124, allocations: 78.97 kB / 0.8163 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.01243, allocations: 27.67 kB / 0.8164 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.01244, allocations: 5.844 kB / 0.8164 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.0126, allocations: 116.5 kB / 0.8165 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.0126, allocations: 0 / 0.8165 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0002611/0.01286, allocations: 182.2 kB / 0.8167 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.0129, allocations: 55.41 kB / 0.8167 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.589e-05/0.01299, allocations: 178.3 kB / 0.8169 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.01301, allocations: 34.42 kB / 0.8169 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.003066/0.01608, allocations: 142.7 kB / 0.817 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.01611, allocations: 28.31 kB / 0.8171 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.01618, allocations: 56.56 kB / 0.8171 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.01631, allocations: 0.4884 MB / 0.8176 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.01639, allocations: 61.67 kB / 0.8177 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/0.01648, allocations: 112.1 kB / 0.8178 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.01661, allocations: 133.7 kB / 0.8179 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01661, allocations: 5.219 kB / 0.8179 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002622/0.01687, allocations: 213.8 kB / 0.8181 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.01691, allocations: 33.69 kB / 0.8181 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.01691, allocations: 7.938 kB / 0.8181 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.01692, allocations: 1.219 kB / 0.8181 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.01699, allocations: 19.94 kB / 0.8182 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01699, allocations: 3.984 kB / 0.8182 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.01713, allocations: 29.19 kB / 0.8182 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.01715, allocations: 15.98 kB / 0.8182 GB, free: 10.52 MB / 0.7292 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.504e-05/0.01724, allocations: 170.3 kB / 0.8184 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.01727, allocations: 19.94 kB / 0.8184 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.0173, allocations: 12.38 kB / 0.8184 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.0173, allocations: 6.531 kB / 0.8184 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.0173, allocations: 0 / 0.8184 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.01731, allocations: 0 / 0.8184 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.01761, allocations: 391.8 kB / 0.8188 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01761, allocations: 0 / 0.8188 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.647e-05/0.01764, allocations: 7.938 kB / 0.8188 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01764, allocations: 0 / 0.8188 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.01766, allocations: 12.42 kB / 0.8188 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.01766, allocations: 5.031 kB / 0.8188 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01766, allocations: 0 / 0.8188 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002064/0.01787, allocations: 295.8 kB / 0.8191 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.01787, allocations: 9.016 kB / 0.8191 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.0179, allocations: 7.938 kB / 0.8191 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.01797, allocations: 8.484 kB / 0.8191 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.01801, allocations: 23.95 kB / 0.8191 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.01802, allocations: 5.406 kB / 0.8191 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.079e-05/0.01806, allocations: 131.1 kB / 0.8193 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01806, allocations: 0 / 0.8193 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002287/0.01829, allocations: 35.94 kB / 0.8193 GB, free: 9.34 MB / 0.7292 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.0001228/0.01841, allocations: 111.6 kB / 0.8194 GB, free: 9.227 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.01858, allocations: 194.9 kB / 0.8196 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01859, allocations: 0.9062 kB / 0.8196 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.974e-05/0.01864, allocations: 51.59 kB / 0.8196 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.01882, allocations: 16.64 kB / 0.8197 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/0.02165, allocations: 187.2 kB / 0.8198 GB, free: 8.734 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.02169, allocations: 62.39 kB / 0.8199 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.02172, allocations: 12.48 kB / 0.8199 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.237e-05/0.0218, allocations: 98.17 kB / 0.82 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of SimCode: time 6.32e-07/0.0218, allocations: 0 / 0.82 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of Templates: time 0.00346/0.02526, allocations: 1.949 MB / 0.8219 GB, free: 6.66 MB / 0.7292 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.198067672085017]