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.001454/0.001454, allocations: 87.58 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.001718/0.001718, allocations: 161 kB / 23.82 MB, free: 0.75 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.9962/0.9962, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.881/1.881, allocations: 377.8 MB / 0.6236 GB, free: 8.512 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 1.593e-06/1.593e-06, allocations: 0 / 0.8115 GB, free: 1.672 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.671e-05, allocations: 3.625 kB / 0.8116 GB, free: 1.668 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.001225/0.001252, allocations: 0.6859 MB / 0.8122 GB, free: 1.004 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.002431, allocations: 1.202 MB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.252e-05/0.002484, allocations: 4 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.002518, allocations: 6.344 kB / 0.8134 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.716e-05/0.002595, allocations: 7.875 kB / 0.8134 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004356/0.003031, allocations: 147.5 kB / 0.8136 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.003187, allocations: 139.7 kB / 0.8137 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.003278, allocations: 9.406 kB / 0.8137 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.823e-05/0.003376, allocations: 83.86 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.003483, allocations: 45.39 kB / 0.8138 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.003507, allocations: 12 kB / 0.8138 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.586e-05/0.003562, allocations: 19.98 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.564e-05/0.003588, allocations: 23.91 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.003641, allocations: 37.59 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.003784, allocations: 107.7 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.003785, allocations: 0 / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003786, allocations: 0 / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.108e-06/0.00379, allocations: 0 / 0.814 GB, free: 15.16 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.0004788/0.004269, allocations: 447.1 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.004304, allocations: 8.562 kB / 0.8144 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.004364, allocations: 16.89 kB / 0.8145 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.004517, allocations: 141 kB / 0.8146 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.004536, allocations: 5.469 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/0.004556, allocations: 12.38 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.00468, allocations: 90.83 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.094e-06/0.004687, allocations: 0.7812 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.0047, allocations: 8.359 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.004707, allocations: 0.9062 kB / 0.8147 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.322e-05/0.004761, allocations: 37.22 kB / 0.8147 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.005136, allocations: 335.6 kB / 0.8151 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.005267, allocations: 80.12 kB / 0.8151 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.005306, allocations: 31.91 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.005314, allocations: 8.859 kB / 0.8152 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.005472, allocations: 133.4 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.005474, allocations: 0 / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.000277/0.005751, allocations: 186.6 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.005792, allocations: 63.33 kB / 0.8155 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.005876, allocations: 171.2 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.005901, allocations: 33.7 kB / 0.8157 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.005955, allocations: 134.9 kB / 0.8159 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.005983, allocations: 31.8 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.64e-05/0.00604, allocations: 48.2 kB / 0.8159 GB, free: 13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.006152, allocations: 0.4884 MB / 0.8164 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.485e-05/0.006227, allocations: 70.64 kB / 0.8165 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.869e-05/0.006315, allocations: 122.8 kB / 0.8166 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.006431, allocations: 141.5 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.006433, allocations: 1.281 kB / 0.8167 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002144/0.006648, allocations: 228.9 kB / 0.817 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.006675, allocations: 48.69 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.00668, allocations: 0 / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.006693, allocations: 4 kB / 0.817 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.513e-05/0.006749, allocations: 15.92 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.006753, allocations: 4 kB / 0.817 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.006855, allocations: 35.86 kB / 0.8171 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.00687, allocations: 8.5 kB / 0.8171 GB, free: 11.75 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.397e-05/0.006954, allocations: 175.6 kB / 0.8172 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.006973, allocations: 23.89 kB / 0.8173 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.006998, allocations: 12.42 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007, allocations: 3.938 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.007004, allocations: 0.8438 kB / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.007007, allocations: 0 / 0.8173 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.007258, allocations: 408.7 kB / 0.8177 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.007261, allocations: 3.938 kB / 0.8177 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.007282, allocations: 14.48 kB / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.007283, allocations: 0 / 0.8177 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.007293, allocations: 8 kB / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007294, allocations: 0 / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.007295, allocations: 0 / 0.8177 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.00747, allocations: 311.8 kB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.007479, allocations: 15.83 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.007498, allocations: 10.86 kB / 0.818 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.188e-05/0.00754, allocations: 4 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.00758, allocations: 11.97 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.00759, allocations: 15.98 kB / 0.818 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.007626, allocations: 127.2 kB / 0.8182 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007626, allocations: 0 / 0.8182 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001803/0.007806, allocations: 35.98 kB / 0.8182 GB, free: 10.54 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.0001036/0.00791, allocations: 108.1 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.008388, allocations: 209.8 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.00839, allocations: 0 / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.977e-05/0.008449, allocations: 59 kB / 0.8186 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.008627, allocations: 19.92 kB / 0.8186 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.008911, allocations: 195.6 kB / 0.8188 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.37e-05/0.008944, allocations: 63.34 kB / 0.8188 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.008972, allocations: 7.312 kB / 0.8188 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.008998, allocations: 16.5 kB / 0.8189 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of SimCode: time 7.21e-07/0.008999, allocations: 0 / 0.8189 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of Templates: time 0.003399/0.0124, allocations: 1.88 MB / 0.8207 GB, free: 7.977 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.243677061982453]