Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.2 MB / 0.6653 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 8 kB / 0.8146 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9062, allocations: 142.3 MB / 0.9535 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001012/0.9073, allocations: 0.5482 MB / 0.9541 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001974/0.9092, allocations: 1.389 MB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.9093, allocations: 1.406 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004621/0.9098, allocations: 183 kB / 0.9556 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.91, allocations: 104.5 kB / 0.9557 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.9108, allocations: 314.2 kB / 0.956 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006702/0.9115, allocations: 0.4995 MB / 0.9565 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.9117, allocations: 80.95 kB / 0.9566 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003372/0.912, allocations: 292.1 kB / 0.9568 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000302/0.9123, allocations: 223.9 kB / 0.9571 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.435e-05/0.9124, allocations: 16.84 kB / 0.9571 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.9127, allocations: 70.03 kB / 0.9571 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003719/0.913, allocations: 301.1 kB / 0.9574 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.9131, allocations: 92.95 kB / 0.9575 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005965/0.9137, allocations: 0.6979 MB / 0.9582 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.9138, allocations: 0 / 0.9582 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9138, allocations: 0 / 0.9582 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.9138, allocations: 1.312 kB / 0.9582 GB, free: 4.969 MB / 0.7169 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.001396/0.9152, allocations: 0.7067 MB / 0.9589 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.9152, allocations: 8.812 kB / 0.9589 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.9154, allocations: 57.2 kB / 0.959 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009541/0.9164, allocations: 0.5252 MB / 0.9595 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.9164, allocations: 23.08 kB / 0.9595 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.9166, allocations: 35.78 kB / 0.9595 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004709/0.917, allocations: 306.2 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.9171, allocations: 0.8438 kB / 0.9598 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.9171, allocations: 4.953 kB / 0.9598 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.9171, allocations: 11.06 kB / 0.9598 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.9174, allocations: 218 kB / 0.96 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.9194, allocations: 1.191 MB / 0.9612 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005866/0.92, allocations: 466.1 kB / 0.9616 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.92, allocations: 3.969 kB / 0.9617 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004227/0.9204, allocations: 338 kB / 0.962 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.483e-06/0.9204, allocations: 0 / 0.962 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.00103/0.9215, allocations: 0.6247 MB / 0.9626 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.9215, allocations: 113.5 kB / 0.9627 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007356/0.9223, allocations: 0.5957 MB / 0.9633 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.64e-05/0.9224, allocations: 42.86 kB / 0.9633 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.9226, allocations: 214.6 kB / 0.9635 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.9226, allocations: 57.22 kB / 0.9636 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.421e-05/0.9227, allocations: 10.03 kB / 0.9636 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.9228, allocations: 362.1 kB / 0.9639 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.9229, allocations: 123.1 kB / 0.964 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000718/0.9237, allocations: 0.7199 MB / 0.9647 GB, free: 136 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.9239, allocations: 172.2 kB / 0.9649 GB, free: 52 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.9239, allocations: 1.031 kB / 0.9649 GB, free: 52 kB / 0.7169 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007178/0.9247, allocations: 414.3 kB / 0.9653 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.9247, allocations: 11.34 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.9247, allocations: 3.656 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.9247, allocations: 10.16 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.9249, allocations: 37.61 kB / 0.9654 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.925, allocations: 8.984 kB / 0.9654 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.9263, allocations: 134.5 kB / 0.9655 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.9263, allocations: 18.12 kB / 0.9655 GB, free: 15.75 MB / 0.7325 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.9267, allocations: 262.7 kB / 0.9658 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.9268, allocations: 49.69 kB / 0.9658 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.9269, allocations: 49.69 kB / 0.9659 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.9269, allocations: 3 kB / 0.9659 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.927, allocations: 5.094 kB / 0.9659 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.927, allocations: 4.922 kB / 0.9659 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004775/0.9275, allocations: 410.1 kB / 0.9663 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9275, allocations: 0.9688 kB / 0.9663 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.542e-05/0.9275, allocations: 12.05 kB / 0.9663 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.9275, allocations: 1.688 kB / 0.9663 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.9275, allocations: 4.531 kB / 0.9663 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.9275, allocations: 1.031 kB / 0.9663 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9275, allocations: 1.094 kB / 0.9663 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007994/0.9284, allocations: 0.544 MB / 0.9668 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.9285, allocations: 134.8 kB / 0.967 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.9286, allocations: 1.375 kB / 0.967 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.9288, allocations: 21.78 kB / 0.967 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.9289, allocations: 30.22 kB / 0.967 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.9289, allocations: 23.06 kB / 0.967 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006299/0.9295, allocations: 433.3 kB / 0.9674 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9295, allocations: 0 / 0.9674 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005691/0.9301, allocations: 114.9 kB / 0.9675 GB, free: 14.4 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002767/0.9304, allocations: 151.9 kB / 0.9677 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.931, allocations: 350.5 kB / 0.968 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.931, allocations: 0 / 0.968 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.9313, allocations: 191.6 kB / 0.9682 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.9316, allocations: 29.81 kB / 0.9682 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.9331, allocations: 0.8878 MB / 0.9691 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.9337, allocations: 0.8454 MB / 0.9699 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002977/0.934, allocations: 97.83 kB / 0.97 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.9341, allocations: 43.45 kB / 0.9701 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.9341, allocations: 0 / 0.9701 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of Templates: time 0.01402/0.9481, allocations: 7.338 MB / 0.9772 GB, free: 7.371 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches