Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.001374/0.001374, 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.001671/0.001671, allocations: 181 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 0.9635/0.9635, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.933/1.933, allocations: 377.9 MB / 0.6239 GB, free: 8.426 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.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.[0-9,]+.|booTimTabTwi.y.[0-9,]+.|booTimTabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 3.938 kB / 0.812 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.315e-05, allocations: 7.25 kB / 0.812 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002112/0.002135, allocations: 0.8394 MB / 0.8128 GB, free: 0.5977 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002368/0.004503, allocations: 1.495 MB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.004648, allocations: 4 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006556/0.005304, allocations: 203.2 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.00549, allocations: 120.1 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001342/0.006832, allocations: 363.8 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.007863, allocations: 0.8799 MB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.008039, allocations: 52.56 kB / 0.8159 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006468/0.008686, allocations: 447.5 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004258/0.009112, allocations: 239.5 kB / 0.8165 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.009274, allocations: 40.62 kB / 0.8166 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.009574, allocations: 123.8 kB / 0.8167 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003583/0.009932, allocations: 304 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.01023, allocations: 208.8 kB / 0.8172 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.01113, allocations: 0.7089 MB / 0.8179 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01113, allocations: 0 / 0.8179 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01113, allocations: 0 / 0.8179 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.01114, allocations: 1.531 kB / 0.8179 GB, free: 11.45 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001374/0.01252, allocations: 0.8811 MB / 0.8187 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.01256, allocations: 8.031 kB / 0.8187 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.0128, allocations: 66.59 kB / 0.8188 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006205/0.01342, allocations: 394.5 kB / 0.8192 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.01345, allocations: 28.59 kB / 0.8192 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.01356, allocations: 36.38 kB / 0.8192 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.01386, allocations: 159.7 kB / 0.8194 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.01387, allocations: 1.469 kB / 0.8194 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.01389, allocations: 8.359 kB / 0.8194 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.0139, allocations: 8.312 kB / 0.8194 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.01403, allocations: 57.14 kB / 0.8195 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.01546, allocations: 0.9584 MB / 0.8204 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.01577, allocations: 201.8 kB / 0.8206 GB, free: 8.504 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.01587, allocations: 63.12 kB / 0.8207 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.01588, allocations: 4.531 kB / 0.8207 GB, free: 8.426 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003432/0.01623, allocations: 263.7 kB / 0.8209 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.01623, allocations: 0 / 0.8209 GB, free: 8.145 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.0007321/0.01696, allocations: 369.6 kB / 0.8213 GB, free: 7.777 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.01704, allocations: 118.8 kB / 0.8214 GB, free: 7.637 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.01761, allocations: 499.8 kB / 0.8219 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.0177, allocations: 45.7 kB / 0.8219 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/0.018, allocations: 288.3 kB / 0.8222 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.101e-05/0.01807, allocations: 56.77 kB / 0.8222 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002909/0.01836, allocations: 187.1 kB / 0.8224 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.01861, allocations: 0.5507 MB / 0.8229 GB, free: 5.984 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.77e-05/0.0187, allocations: 44.64 kB / 0.823 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/0.01978, allocations: 1.657 MB / 0.8246 GB, free: 3.789 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.02009, allocations: 247.4 kB / 0.8248 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.02009, allocations: 0 / 0.8248 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005368/0.02063, allocations: 292.3 kB / 0.8251 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.02065, allocations: 7.938 kB / 0.8251 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.02066, allocations: 4 kB / 0.8251 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.02068, allocations: 11.44 kB / 0.8251 GB, free: 3.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.02086, allocations: 39.92 kB / 0.8252 GB, free: 3.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.02086, allocations: 7.984 kB / 0.8252 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007062/0.02157, allocations: 99.94 kB / 0.8253 GB, free: 3.035 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.0216, allocations: 8 kB / 0.8253 GB, free: 3.027 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.0002409/0.02184, allocations: 213.1 kB / 0.8255 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.67e-05/0.02192, allocations: 56.84 kB / 0.8255 GB, free: 2.758 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.471e-05/0.022, allocations: 43.42 kB / 0.8256 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.022, allocations: 3.984 kB / 0.8256 GB, free: 2.715 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.02201, allocations: 5.094 kB / 0.8256 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.02201, allocations: 0 / 0.8256 GB, free: 2.711 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.02232, allocations: 240.9 kB / 0.8258 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.02232, allocations: 4.656 kB / 0.8258 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.02234, allocations: 2.188 kB / 0.8258 GB, free: 2.445 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.02234, allocations: 4 kB / 0.8258 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.02236, allocations: 11.98 kB / 0.8258 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.02237, allocations: 0 / 0.8258 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.02237, allocations: 7.938 kB / 0.8259 GB, free: 2.422 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005153/0.02289, allocations: 359.2 kB / 0.8262 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.02296, allocations: 46.86 kB / 0.8262 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.023, allocations: 4 kB / 0.8262 GB, free: 1.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.0231, allocations: 11.98 kB / 0.8263 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.15e-05/0.02316, allocations: 23.91 kB / 0.8263 GB, free: 1.957 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.02319, allocations: 8 kB / 0.8263 GB, free: 1.949 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003266/0.02352, allocations: 314.9 kB / 0.8266 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02352, allocations: 0 / 0.8266 GB, free: 1.645 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004907/0.02401, allocations: 107.9 kB / 0.8267 GB, free: 1.539 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002501/0.02426, allocations: 147.8 kB / 0.8268 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.02464, allocations: 186.1 kB / 0.827 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.02464, allocations: 0 / 0.827 GB, free: 1.203 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.02478, allocations: 91.56 kB / 0.8271 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.02512, allocations: 48.22 kB / 0.8271 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02618, allocations: 0.6511 MB / 0.8278 GB, free: 380 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.02633, allocations: 125.3 kB / 0.8279 GB, free: 232 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.02651, allocations: 55 kB / 0.8279 GB, free: 176 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.02693, allocations: 195.7 kB / 0.8281 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of SimCode: time 8.11e-07/0.02693, allocations: 0 / 0.8281 GB, free: 15.98 MB / 0.7917 GB Notification: Performance of Templates: time 0.01593/0.04286, allocations: 9.133 MB / 0.8371 GB, free: 7.051 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.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.360149384010583]