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.001146/0.001146, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001595/0.001595, allocations: 169 kB / 24.28 MB, free: 276 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 0.9953/0.9953, allocations: 177.1 MB / 204.6 MB, free: 5.633 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.959/1.959, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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 2.945e-06/2.945e-06, allocations: 0 / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.661e-05, allocations: 3.906 kB / 0.8116 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001618/0.001654, allocations: 0.6744 MB / 0.8122 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002947, allocations: 1.203 MB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.003005, allocations: 0.6562 kB / 0.8134 GB, free: 168 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.003037, allocations: 7.922 kB / 0.8134 GB, free: 160 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 7.539e-05/0.003113, allocations: 8.938 kB / 0.8134 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.003596, allocations: 140.1 kB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.003784, allocations: 148.9 kB / 0.8137 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.55e-05/0.003879, allocations: 11.98 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.003988, allocations: 79.92 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.004093, allocations: 45.86 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.004119, allocations: 16 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.004188, allocations: 23.98 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.004214, allocations: 15.98 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.699e-05/0.004281, allocations: 47.89 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004476, allocations: 111.7 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.004479, allocations: 5.469 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.242e-06/0.00448, allocations: 0 / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.004485, allocations: 0 / 0.814 GB, free: 15.52 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.0005454/0.005031, allocations: 447.4 kB / 0.8144 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.005077, allocations: 8.031 kB / 0.8145 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.005144, allocations: 20.88 kB / 0.8145 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002777/0.005422, allocations: 150.8 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.005445, allocations: 12.36 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.005465, allocations: 8.375 kB / 0.8146 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.005604, allocations: 94.83 kB / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.005612, allocations: 192 / 0.8147 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.005624, allocations: 4.906 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.005634, allocations: 4.656 kB / 0.8147 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.75e-05/0.005691, allocations: 32.62 kB / 0.8148 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.006107, allocations: 340.1 kB / 0.8151 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.006241, allocations: 76.53 kB / 0.8152 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.006294, allocations: 31.67 kB / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.006302, allocations: 0 / 0.8152 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.006481, allocations: 130.7 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.006482, allocations: 0 / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003195/0.006802, allocations: 191.4 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.034e-05/0.006862, allocations: 64.5 kB / 0.8156 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.006982, allocations: 169.9 kB / 0.8157 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/0.007011, allocations: 37.69 kB / 0.8158 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.007071, allocations: 136.2 kB / 0.8159 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.007099, allocations: 31.94 kB / 0.8159 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.007163, allocations: 51.36 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.007319, allocations: 0.4893 MB / 0.8165 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.007426, allocations: 69.67 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.007545, allocations: 122.2 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.007691, allocations: 138 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.007693, allocations: 0 / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000283/0.007976, allocations: 249.9 kB / 0.817 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.008015, allocations: 37.69 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.008023, allocations: 0 / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.008042, allocations: 4 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.74e-05/0.00812, allocations: 13.03 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.00813, allocations: 4 kB / 0.8171 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.008244, allocations: 37.83 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.008261, allocations: 8 kB / 0.8171 GB, free: 12.09 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.0001261/0.008387, allocations: 173.7 kB / 0.8173 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.008408, allocations: 18.27 kB / 0.8173 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.008442, allocations: 16.42 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.008445, allocations: 3.938 kB / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.00845, allocations: 0 / 0.8173 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.008455, allocations: 3.984 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.008775, allocations: 413.4 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.008778, allocations: 0.5312 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.387e-05/0.008802, allocations: 5.938 kB / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.008804, allocations: 0 / 0.8177 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.008818, allocations: 7.984 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.00882, allocations: 3.938 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.008822, allocations: 0 / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.009118, allocations: 315.8 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.227e-05/0.00913, allocations: 8.578 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.064e-05/0.009151, allocations: 8 kB / 0.818 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.533e-05/0.009206, allocations: 8.641 kB / 0.818 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.009252, allocations: 16.62 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.009262, allocations: 8 kB / 0.8181 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.01e-05/0.009302, allocations: 134.4 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009302, allocations: 0 / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001855/0.009488, allocations: 32 kB / 0.8182 GB, free: 10.88 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.0001413/0.009629, allocations: 107.2 kB / 0.8183 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.009876, allocations: 212.6 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.009877, allocations: 2.375 kB / 0.8185 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.386e-05/0.009941, allocations: 58.72 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.01015, allocations: 19.92 kB / 0.8186 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003229/0.01047, allocations: 190.5 kB / 0.8188 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.859e-05/0.01051, allocations: 64.28 kB / 0.8189 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.324e-05/0.01054, allocations: 9.609 kB / 0.8189 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.01057, allocations: 17.53 kB / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.01057, allocations: 0 / 0.8189 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of Templates: time 0.003792/0.01437, allocations: 1.779 MB / 0.8206 GB, free: 8.418 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.281734931981191]