Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.0009893/0.0009893, allocations: 81.86 kB / 20.68 MB, free: 3.816 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.001724/0.001724, allocations: 185 kB / 24.09 MB, free: 416 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.055/1.055, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.965/1.965, allocations: 377.9 MB / 0.624 GB, free: 8.406 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.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,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|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.065e-05/3.327e-05, allocations: 2.312 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001574/0.001607, allocations: 0.7387 MB / 0.8127 GB, free: 0.707 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.003148, allocations: 1.303 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.003222, allocations: 4 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.51e-05/0.003257, allocations: 12.55 kB / 0.814 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.003358, allocations: 20.7 kB / 0.814 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005302/0.003888, allocations: 241.3 kB / 0.8143 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.004106, allocations: 255.5 kB / 0.8145 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.004197, allocations: 13.09 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.004372, allocations: 155.7 kB / 0.8147 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.004512, allocations: 76.59 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.253e-05/0.004545, allocations: 20.88 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.376e-05/0.004618, allocations: 35.92 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.004647, allocations: 33.14 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.534e-05/0.004713, allocations: 67.88 kB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.004884, allocations: 167.6 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004886, allocations: 1.75 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.01e-07/0.004886, allocations: 0 / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.00489, allocations: 0 / 0.8151 GB, free: 14.31 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005328/0.005423, allocations: 0.5164 MB / 0.8156 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.005464, allocations: 8.031 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.005663, allocations: 32.88 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.005831, allocations: 161.4 kB / 0.8158 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.005852, allocations: 12.38 kB / 0.8158 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.005879, allocations: 24.36 kB / 0.8158 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.006029, allocations: 134.7 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.006038, allocations: 4.188 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006049, allocations: 4.375 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.006055, allocations: 384 / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.447e-05/0.00611, allocations: 47.83 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000486/0.006596, allocations: 0.4889 MB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001571/0.006753, allocations: 127.5 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.196e-05/0.006795, allocations: 47.34 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.006803, allocations: 4.594 kB / 0.8166 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002125/0.007016, allocations: 204.5 kB / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.007017, allocations: 0 / 0.8168 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22): time 0.0003104/0.007327, allocations: 261.5 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.007365, allocations: 85.05 kB / 0.8172 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.808e-05/0.007453, allocations: 196.9 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.599e-05/0.007479, allocations: 42.36 kB / 0.8174 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.007532, allocations: 143.3 kB / 0.8175 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.007567, allocations: 56.84 kB / 0.8176 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.567e-05/0.007643, allocations: 75.31 kB / 0.8176 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.007783, allocations: 0.4962 MB / 0.8181 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.439e-05/0.007877, allocations: 120.2 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.008001, allocations: 205.1 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.008161, allocations: 239 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.008164, allocations: 8.75 kB / 0.8187 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006433/0.008807, allocations: 382.4 kB / 0.819 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/0.008851, allocations: 67.39 kB / 0.8191 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.008858, allocations: 4 kB / 0.8191 GB, free: 9.781 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.008877, allocations: 4 kB / 0.8191 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.008952, allocations: 28.8 kB / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.008956, allocations: 0 / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.009113, allocations: 57.97 kB / 0.8192 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.009134, allocations: 19.98 kB / 0.8192 GB, free: 9.676 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001036/0.009238, allocations: 187 kB / 0.8194 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.009265, allocations: 31.38 kB / 0.8194 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.218e-05/0.009297, allocations: 12.44 kB / 0.8194 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.0093, allocations: 4 kB / 0.8194 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.009303, allocations: 0 / 0.8194 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.009307, allocations: 3.984 kB / 0.8194 GB, free: 9.438 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003635/0.009671, allocations: 0.5976 MB / 0.82 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009672, allocations: 0 / 0.82 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.682e-05/0.009699, allocations: 11.94 kB / 0.82 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.009701, allocations: 0.5 kB / 0.82 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.009714, allocations: 15.92 kB / 0.8201 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.009716, allocations: 0.5625 kB / 0.8201 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.009718, allocations: 4.594 kB / 0.8201 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002894/0.01001, allocations: 498.8 kB / 0.8205 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.01002, allocations: 13.28 kB / 0.8205 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.01005, allocations: 11.98 kB / 0.8206 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.01013, allocations: 7.984 kB / 0.8206 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.01019, allocations: 24.73 kB / 0.8206 GB, free: 8.215 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.0102, allocations: 19.92 kB / 0.8206 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.937e-05/0.01025, allocations: 135.7 kB / 0.8207 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01025, allocations: 1.094 kB / 0.8207 GB, free: 8.062 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002593/0.01051, allocations: 59.94 kB / 0.8208 GB, free: 8.004 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001569/0.01067, allocations: 107.9 kB / 0.8209 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003318/0.011, allocations: 351.2 kB / 0.8212 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.011, allocations: 0 / 0.8212 GB, free: 7.508 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.843e-05/0.01108, allocations: 86.06 kB / 0.8213 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.01134, allocations: 40.31 kB / 0.8214 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.01168, allocations: 258 kB / 0.8216 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.653e-05/0.01172, allocations: 71.86 kB / 0.8217 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.01177, allocations: 15.45 kB / 0.8217 GB, free: 7.004 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001377/0.0119, allocations: 119.2 kB / 0.8218 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.0119, allocations: 0 / 0.8218 GB, free: 6.887 MB / 0.7761 GB Notification: Performance of Templates: time 0.004892/0.0168, allocations: 3.109 MB / 0.8248 GB, free: 3.852 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.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.341490634717047]