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.001116/0.001116, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001459/0.001459, allocations: 161 kB / 23.82 MB, free: 0.7461 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 1.02/1.02, allocations: 177.1 MB / 204.2 MB, free: 5.305 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.97/1.97, allocations: 377.8 MB / 0.6236 GB, free: 8.504 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 1.713e-06/1.713e-06, allocations: 0 / 0.8116 GB, free: 1.543 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/2.835e-05, allocations: 6.312 kB / 0.8116 GB, free: 1.535 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0014/0.001429, allocations: 0.6697 MB / 0.8122 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.002646, allocations: 1.21 MB / 0.8134 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.614e-05/0.002692, allocations: 1.688 kB / 0.8134 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.008e-05/0.002722, allocations: 3.938 kB / 0.8134 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.069e-05/0.002793, allocations: 11.86 kB / 0.8134 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.003232, allocations: 140.9 kB / 0.8136 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.003389, allocations: 143.7 kB / 0.8137 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.003484, allocations: 13.58 kB / 0.8137 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.003582, allocations: 75.94 kB / 0.8138 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.286e-05/0.003675, allocations: 43.86 kB / 0.8138 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.003701, allocations: 16 kB / 0.8138 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.883e-05/0.00376, allocations: 27.98 kB / 0.8139 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.572e-05/0.003786, allocations: 16.69 kB / 0.8139 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.003845, allocations: 47.89 kB / 0.8139 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004008, allocations: 112.2 kB / 0.814 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.004011, allocations: 9.641 kB / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.92e-07/0.004012, allocations: 0 / 0.814 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.004016, allocations: 0 / 0.814 GB, free: 15.02 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.0004695/0.004486, allocations: 442.1 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.004522, allocations: 8.688 kB / 0.8145 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.004582, allocations: 16.89 kB / 0.8145 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.004848, allocations: 157.9 kB / 0.8146 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.00487, allocations: 13.52 kB / 0.8146 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.004894, allocations: 8.375 kB / 0.8147 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.005025, allocations: 94.83 kB / 0.8147 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.005036, allocations: 1.562 kB / 0.8147 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.005048, allocations: 4.375 kB / 0.8147 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.005057, allocations: 4.125 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.344e-05/0.005111, allocations: 31.91 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.005644, allocations: 333.3 kB / 0.8151 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.005777, allocations: 79.02 kB / 0.8152 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.005823, allocations: 38.02 kB / 0.8152 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.00583, allocations: 0 / 0.8152 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000158/0.005988, allocations: 129 kB / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.005989, allocations: 0 / 0.8153 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002959/0.006285, allocations: 191.6 kB / 0.8155 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.006319, allocations: 63.34 kB / 0.8156 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.041e-05/0.0064, allocations: 169.9 kB / 0.8157 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.00642, allocations: 33.7 kB / 0.8158 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.006471, allocations: 138.9 kB / 0.8159 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.006493, allocations: 24.31 kB / 0.8159 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.006551, allocations: 55.34 kB / 0.816 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.006657, allocations: 0.4889 MB / 0.8165 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.966e-05/0.006736, allocations: 71.58 kB / 0.8165 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-05/0.00683, allocations: 120.1 kB / 0.8166 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.006947, allocations: 139 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.006949, allocations: 0 / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002341/0.007183, allocations: 241.9 kB / 0.817 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.007214, allocations: 33.7 kB / 0.817 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.007218, allocations: 1.156 kB / 0.817 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.007235, allocations: 4 kB / 0.817 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.169e-05/0.007297, allocations: 15.92 kB / 0.8171 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.007304, allocations: 4.562 kB / 0.8171 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.567e-05/0.007399, allocations: 36.64 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.007413, allocations: 8.844 kB / 0.8171 GB, free: 11.6 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 8.581e-05/0.007498, allocations: 175.4 kB / 0.8173 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.007519, allocations: 19.88 kB / 0.8173 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.475e-05/0.007554, allocations: 12.44 kB / 0.8173 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.007556, allocations: 0 / 0.8173 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.00756, allocations: 0 / 0.8173 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.007563, allocations: 0.8125 kB / 0.8173 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002873/0.00785, allocations: 417.3 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007852, allocations: 0.9688 kB / 0.8177 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.258e-05/0.007874, allocations: 11.92 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007876, allocations: 1.125 kB / 0.8177 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.007887, allocations: 7.984 kB / 0.8177 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.007887, allocations: 0 / 0.8177 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.00789, allocations: 5.031 kB / 0.8177 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001977/0.008088, allocations: 315.3 kB / 0.818 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-06/0.008097, allocations: 11.88 kB / 0.818 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.008117, allocations: 9.125 kB / 0.818 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.008164, allocations: 7.984 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.00821, allocations: 15.97 kB / 0.8181 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.008219, allocations: 8.875 kB / 0.8181 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.892e-05/0.008258, allocations: 131.2 kB / 0.8182 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008258, allocations: 1.688 kB / 0.8182 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000185/0.008443, allocations: 35.94 kB / 0.8182 GB, free: 10.38 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.0001244/0.008567, allocations: 113.8 kB / 0.8183 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.008791, allocations: 210.5 kB / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008793, allocations: 0 / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.008853, allocations: 51.61 kB / 0.8186 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.009052, allocations: 24.62 kB / 0.8186 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.00935, allocations: 191.2 kB / 0.8188 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.009384, allocations: 66.91 kB / 0.8189 GB, free: 9.656 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.876e-05/0.009412, allocations: 8.484 kB / 0.8189 GB, free: 9.648 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.00944, allocations: 16.5 kB / 0.8189 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.009441, allocations: 0 / 0.8189 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of Templates: time 0.003515/0.01296, allocations: 1.768 MB / 0.8206 GB, free: 7.922 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.451515190303326]