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.001024/0.001024, 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.001114/0.001114, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.01/1.01, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.437/2.437, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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 2.635e-06/2.635e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.06e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001684/0.001714, allocations: 0.8536 MB / 0.8394 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.003551, allocations: 1.505 MB / 0.8409 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.415e-05/0.003615, allocations: 3.938 kB / 0.8409 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004279/0.004043, allocations: 203.4 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.004145, allocations: 127.5 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006194/0.004764, allocations: 355.1 kB / 0.8416 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.000632/0.005396, allocations: 0.8815 MB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.00552, allocations: 58.47 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.005874, allocations: 451.4 kB / 0.8429 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.006118, allocations: 211.6 kB / 0.8431 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 7.033e-05/0.006188, allocations: 47.94 kB / 0.8432 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.006379, allocations: 111.8 kB / 0.8433 GB, free: 9.41 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.006616, allocations: 287.3 kB / 0.8435 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.006782, allocations: 207.5 kB / 0.8437 GB, free: 8.926 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.007351, allocations: 0.7012 MB / 0.8444 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.007354, allocations: 3.938 kB / 0.8444 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.21e-07/0.007355, allocations: 0 / 0.8444 GB, free: 8.219 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.00736, allocations: 0 / 0.8444 GB, free: 8.219 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.0007714/0.008132, allocations: 0.7017 MB / 0.8451 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.008165, allocations: 12.62 kB / 0.8451 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.597e-05/0.008261, allocations: 48.86 kB / 0.8452 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.008642, allocations: 359.8 kB / 0.8455 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.008663, allocations: 24.61 kB / 0.8455 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.783e-05/0.00873, allocations: 32.38 kB / 0.8456 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.008922, allocations: 165 kB / 0.8457 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.008928, allocations: 192 / 0.8457 GB, free: 6.816 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.008944, allocations: 12.38 kB / 0.8457 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.00895, allocations: 4.375 kB / 0.8457 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.244e-05/0.009032, allocations: 64.33 kB / 0.8458 GB, free: 6.734 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.009827, allocations: 0.683 MB / 0.8465 GB, free: 6.023 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.01017, allocations: 316.2 kB / 0.8468 GB, free: 5.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.01023, allocations: 50.5 kB / 0.8468 GB, free: 5.621 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.01023, allocations: 7.938 kB / 0.8468 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.01046, allocations: 238.9 kB / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.633e-06/0.01046, allocations: 0 / 0.847 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0003006/0.01076, allocations: 242.5 kB / 0.8473 GB, free: 5.113 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.01081, allocations: 114.8 kB / 0.8474 GB, free: 4.977 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.01106, allocations: 379.2 kB / 0.8477 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.01112, allocations: 45.7 kB / 0.8478 GB, free: 4.543 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01122, allocations: 150.6 kB / 0.8479 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.01126, allocations: 55.56 kB / 0.848 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.0114, allocations: 153.5 kB / 0.8481 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.01149, allocations: 362.6 kB / 0.8485 GB, free: 3.82 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.236e-05/0.01154, allocations: 46.81 kB / 0.8485 GB, free: 3.773 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.01216, allocations: 1.484 MB / 0.85 GB, free: 1.855 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.01232, allocations: 223.9 kB / 0.8502 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.01233, allocations: 4 kB / 0.8502 GB, free: 1.582 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002459/0.01257, allocations: 242 kB / 0.8504 GB, free: 1.336 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01259, allocations: 8.031 kB / 0.8504 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01259, allocations: 7.938 kB / 0.8504 GB, free: 1.32 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.01261, allocations: 8 kB / 0.8504 GB, free: 1.312 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.01272, allocations: 47.91 kB / 0.8505 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.01273, allocations: 4 kB / 0.8505 GB, free: 1.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.01314, allocations: 96.42 kB / 0.8506 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.329e-05/0.01315, allocations: 12 kB / 0.8506 GB, free: 1.156 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.0001463/0.01329, allocations: 172.4 kB / 0.8508 GB, free: 0.9766 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.01333, allocations: 27.97 kB / 0.8508 GB, free: 0.9492 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.473e-05/0.01338, allocations: 43.42 kB / 0.8508 GB, free: 0.9062 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01338, allocations: 4 kB / 0.8508 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01338, allocations: 0 / 0.8508 GB, free: 0.9023 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01339, allocations: 4 kB / 0.8508 GB, free: 0.8984 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.01355, allocations: 185.6 kB / 0.851 GB, free: 0.6992 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01355, allocations: 3.938 kB / 0.851 GB, free: 0.6953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.04e-05/0.01356, allocations: 4 kB / 0.851 GB, free: 0.6914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.01356, allocations: 4 kB / 0.851 GB, free: 0.6875 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01357, allocations: 8 kB / 0.851 GB, free: 0.6797 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.01357, allocations: 3.984 kB / 0.851 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01358, allocations: 0 / 0.851 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.01378, allocations: 225.8 kB / 0.8513 GB, free: 436 kB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.01382, allocations: 35.7 kB / 0.8513 GB, free: 400 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.01385, allocations: 7.984 kB / 0.8513 GB, free: 392 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.01391, allocations: 8 kB / 0.8513 GB, free: 384 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/0.01396, allocations: 38.8 kB / 0.8513 GB, free: 344 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.01398, allocations: 19.92 kB / 0.8514 GB, free: 324 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001286/0.01411, allocations: 164.6 kB / 0.8515 GB, free: 156 kB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01411, allocations: 4 kB / 0.8515 GB, free: 152 kB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002711/0.01438, allocations: 107.9 kB / 0.8516 GB, free: 44 kB / 0.8073 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.0001853/0.01457, allocations: 130.9 kB / 0.8517 GB, free: 15.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.01478, allocations: 177.5 kB / 0.8519 GB, free: 15.73 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.01479, allocations: 4.188 kB / 0.8519 GB, free: 15.73 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.624e-05/0.01486, allocations: 83.8 kB / 0.852 GB, free: 15.64 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.01503, allocations: 49.94 kB / 0.852 GB, free: 15.59 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007033/0.01573, allocations: 0.6657 MB / 0.8527 GB, free: 14.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.309e-05/0.01581, allocations: 117.3 kB / 0.8528 GB, free: 14.75 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.01593, allocations: 50.95 kB / 0.8529 GB, free: 14.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.01616, allocations: 161.2 kB / 0.853 GB, free: 14.55 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.01616, allocations: 0 / 0.853 GB, free: 14.55 MB / 0.823 GB Notification: Performance of Templates: time 0.01082/0.02698, allocations: 9.179 MB / 0.862 GB, free: 5.543 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 -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.585893110837787]