Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00163/0.00163, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001764/0.001764, allocations: 177 kB / 23.36 MB, free: 1.133 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.016/1.016, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.476/2.476, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.018e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001858/0.001878, allocations: 0.879 MB / 0.8395 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.006727, allocations: 1.505 MB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.006805, allocations: 3.938 kB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004746/0.007279, allocations: 211.3 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.007416, allocations: 123.5 kB / 0.8413 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.0112, allocations: 371 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00108/0.01228, allocations: 0.866 MB / 0.8425 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.01244, allocations: 58.52 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005096/0.01295, allocations: 451.5 kB / 0.843 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003248/0.01327, allocations: 219.5 kB / 0.8432 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.518e-05/0.01337, allocations: 40 kB / 0.8432 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000261/0.01363, allocations: 119.8 kB / 0.8433 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.01391, allocations: 291.3 kB / 0.8436 GB, free: 8.988 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.003234/0.01715, allocations: 199.5 kB / 0.8438 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0007157/0.01786, allocations: 0.705 MB / 0.8445 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01786, allocations: 0 / 0.8445 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.303e-06/0.01787, allocations: 0 / 0.8445 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.01787, allocations: 4 kB / 0.8445 GB, free: 8.082 MB / 0.8073 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.0009988/0.01887, allocations: 0.6978 MB / 0.8452 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.01891, allocations: 12.62 kB / 0.8452 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.01905, allocations: 56.86 kB / 0.8452 GB, free: 7.285 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004845/0.01953, allocations: 359.8 kB / 0.8456 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.01955, allocations: 20.61 kB / 0.8456 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.958e-05/0.01964, allocations: 36.38 kB / 0.8456 GB, free: 6.852 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.01988, allocations: 157.1 kB / 0.8458 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.01989, allocations: 8.125 kB / 0.8458 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003032/0.02293, allocations: 8.375 kB / 0.8458 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.02294, allocations: 4.375 kB / 0.8458 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.02305, allocations: 64.33 kB / 0.8459 GB, free: 6.598 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.02407, allocations: 0.6907 MB / 0.8465 GB, free: 5.879 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002881/0.02436, allocations: 312.4 kB / 0.8468 GB, free: 5.539 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.768e-05/0.02444, allocations: 46.56 kB / 0.8469 GB, free: 5.484 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/0.02445, allocations: 4 kB / 0.8469 GB, free: 5.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002831/0.02473, allocations: 243.5 kB / 0.8471 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.563e-06/0.02473, allocations: 0 / 0.8471 GB, free: 5.227 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0004087/0.02514, allocations: 238.5 kB / 0.8474 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.6e-05/0.02521, allocations: 122.7 kB / 0.8475 GB, free: 4.84 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000329/0.02554, allocations: 375.2 kB / 0.8478 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/0.02561, allocations: 49.7 kB / 0.8479 GB, free: 4.406 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.02574, allocations: 146.6 kB / 0.848 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/0.02578, allocations: 63.48 kB / 0.8481 GB, free: 4.199 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003226/0.02901, allocations: 145.5 kB / 0.8482 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.02913, allocations: 362.6 kB / 0.8486 GB, free: 3.688 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.71e-05/0.02919, allocations: 42.81 kB / 0.8486 GB, free: 3.645 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009972/0.03019, allocations: 1.492 MB / 0.8501 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00022/0.03041, allocations: 224.2 kB / 0.8503 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.03041, allocations: 3.938 kB / 0.8503 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003492/0.03076, allocations: 241.9 kB / 0.8505 GB, free: 1.199 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.03078, allocations: 8 kB / 0.8505 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.03079, allocations: 384 / 0.8505 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.0308, allocations: 12 kB / 0.8505 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.03097, allocations: 47.91 kB / 0.8506 GB, free: 1.133 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.03098, allocations: 12 kB / 0.8506 GB, free: 1.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.03153, allocations: 91.95 kB / 0.8507 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.03154, allocations: 8 kB / 0.8507 GB, free: 1.023 MB / 0.8073 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.0001708/0.03171, allocations: 168.5 kB / 0.8508 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.03176, allocations: 31.97 kB / 0.8509 GB, free: 0.8164 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003074/0.03484, allocations: 43.42 kB / 0.8509 GB, free: 0.7734 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.03484, allocations: 4 kB / 0.8509 GB, free: 0.7695 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.03484, allocations: 0 / 0.8509 GB, free: 0.7695 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.03485, allocations: 4 kB / 0.8509 GB, free: 0.7656 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.03506, allocations: 181.7 kB / 0.8511 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03506, allocations: 3.938 kB / 0.8511 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.03508, allocations: 7.938 kB / 0.8511 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.03509, allocations: 7.938 kB / 0.8511 GB, free: 0.5508 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.0351, allocations: 3.984 kB / 0.8511 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.0351, allocations: 8 kB / 0.8511 GB, free: 0.5391 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.0351, allocations: 4 kB / 0.8511 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.03536, allocations: 225.8 kB / 0.8513 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.03541, allocations: 43.62 kB / 0.8514 GB, free: 248 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.435e-05/0.03545, allocations: 8 kB / 0.8514 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.03552, allocations: 0 / 0.8514 GB, free: 240 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.655e-05/0.0356, allocations: 50.78 kB / 0.8514 GB, free: 188 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.03562, allocations: 11.98 kB / 0.8515 GB, free: 176 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001766/0.0358, allocations: 164.7 kB / 0.8516 GB, free: 8 kB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0358, allocations: 0 / 0.8516 GB, free: 8 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003957/0.03619, allocations: 108 kB / 0.8517 GB, free: 15.9 MB / 0.823 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.000195/0.03639, allocations: 134.8 kB / 0.8518 GB, free: 15.76 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.03666, allocations: 165.2 kB / 0.852 GB, free: 15.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.03666, allocations: 8 kB / 0.852 GB, free: 15.59 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.03677, allocations: 77.5 kB / 0.8521 GB, free: 15.51 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002036/0.03697, allocations: 49.84 kB / 0.8521 GB, free: 15.46 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003845/0.04082, allocations: 0.6646 MB / 0.8528 GB, free: 14.76 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.04091, allocations: 117.3 kB / 0.8529 GB, free: 14.62 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001505/0.04106, allocations: 58.89 kB / 0.8529 GB, free: 14.57 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/0.04138, allocations: 157.2 kB / 0.8531 GB, free: 14.41 MB / 0.823 GB Notification: Performance of SimCode: time 7.91e-07/0.04138, allocations: 0 / 0.8531 GB, free: 14.41 MB / 0.823 GB Notification: Performance of Templates: time 0.01678/0.05816, allocations: 9.183 MB / 0.8621 GB, free: 5.41 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.49178358912468]