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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001685/0.001686, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001624/0.001624, allocations: 192.8 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.444/2.444, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8015/0.8028, allocations: 140.4 MB / 0.9489 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002565/0.8054, allocations: 0.9152 MB / 0.9498 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002351/0.8078, allocations: 1.446 MB / 0.9513 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.8079, allocations: 5.375 kB / 0.9513 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006269/0.8085, allocations: 186.7 kB / 0.9514 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.8087, allocations: 119 kB / 0.9516 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.8096, allocations: 325.3 kB / 0.9519 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008364/0.8105, allocations: 0.7671 MB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.8107, allocations: 91.62 kB / 0.9527 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004156/0.8111, allocations: 303.5 kB / 0.953 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004428/0.8116, allocations: 254 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001435/0.8117, allocations: 18.28 kB / 0.9532 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.812, allocations: 73.61 kB / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.8124, allocations: 306.6 kB / 0.9536 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.8127, allocations: 244.4 kB / 0.9538 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009337/0.8136, allocations: 0.8821 MB / 0.9547 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.8137, allocations: 0 / 0.9547 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8137, allocations: 1.812 kB / 0.9547 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.8137, allocations: 0 / 0.9547 GB, free: 5.273 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.001758/0.8154, allocations: 0.8899 MB / 0.9556 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.8155, allocations: 9.469 kB / 0.9556 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.8157, allocations: 49.34 kB / 0.9556 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.8164, allocations: 0.5374 MB / 0.9562 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.8165, allocations: 24.11 kB / 0.9562 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.8166, allocations: 44.83 kB / 0.9562 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004359/0.817, allocations: 307.4 kB / 0.9565 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.8171, allocations: 0 / 0.9565 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.784e-05/0.8171, allocations: 5.375 kB / 0.9565 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.8171, allocations: 2.75 kB / 0.9565 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.8174, allocations: 223.3 kB / 0.9567 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.8193, allocations: 1.186 MB / 0.9579 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006951/0.82, allocations: 475.1 kB / 0.9583 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003181/0.8203, allocations: 174.1 kB / 0.9585 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.8203, allocations: 2.188 kB / 0.9585 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005597/0.8209, allocations: 337.5 kB / 0.9588 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.8209, allocations: 1.094 kB / 0.9588 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001127/0.822, allocations: 0.6307 MB / 0.9595 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.8221, allocations: 121.2 kB / 0.9596 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007204/0.8228, allocations: 0.5911 MB / 0.9601 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.614e-05/0.8229, allocations: 43.64 kB / 0.9602 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.8232, allocations: 225.4 kB / 0.9604 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.8232, allocations: 57.09 kB / 0.9605 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003077/0.8235, allocations: 184.1 kB / 0.9606 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.8237, allocations: 363.3 kB / 0.961 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.8239, allocations: 123.3 kB / 0.9611 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007623/0.8246, allocations: 0.7166 MB / 0.9618 GB, free: 128 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.825, allocations: 304.9 kB / 0.9621 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.825, allocations: 5.062 kB / 0.9621 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007139/0.8258, allocations: 412 kB / 0.9625 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.8258, allocations: 10.53 kB / 0.9625 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.8258, allocations: 2.906 kB / 0.9625 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.8258, allocations: 5.875 kB / 0.9625 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.826, allocations: 42.22 kB / 0.9625 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.826, allocations: 5.469 kB / 0.9625 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.8274, allocations: 128.1 kB / 0.9627 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/0.8275, allocations: 15 kB / 0.9627 GB, free: 15.61 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.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.0003738/0.8279, allocations: 264.7 kB / 0.9629 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/0.8279, allocations: 47.03 kB / 0.963 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.8281, allocations: 53.48 kB / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.8281, allocations: 2.938 kB / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.8281, allocations: 0.9375 kB / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.8281, allocations: 1.094 kB / 0.963 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.8286, allocations: 406.8 kB / 0.9634 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8286, allocations: 4 kB / 0.9634 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.752e-05/0.8287, allocations: 8.297 kB / 0.9634 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.8287, allocations: 5.844 kB / 0.9634 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.8287, allocations: 12.23 kB / 0.9635 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.8287, allocations: 4.938 kB / 0.9635 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8287, allocations: 1.719 kB / 0.9635 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008018/0.8295, allocations: 0.5151 MB / 0.964 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.8297, allocations: 131.3 kB / 0.9641 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.8297, allocations: 2.875 kB / 0.9641 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.8299, allocations: 16.95 kB / 0.9641 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/0.83, allocations: 33.31 kB / 0.9641 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.688e-05/0.8301, allocations: 15.08 kB / 0.9642 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005165/0.8306, allocations: 433.2 kB / 0.9646 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8306, allocations: 0 / 0.9646 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005342/0.8311, allocations: 110.1 kB / 0.9647 GB, free: 14.3 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 (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.0002992/0.8314, allocations: 147.1 kB / 0.9648 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.8321, allocations: 348.8 kB / 0.9651 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.8321, allocations: 8.688 kB / 0.9652 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.8323, allocations: 188.5 kB / 0.9653 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.8327, allocations: 47.48 kB / 0.9654 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.8341, allocations: 0.9146 MB / 0.9663 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.8345, allocations: 0.8387 MB / 0.9671 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002763/0.8348, allocations: 99.34 kB / 0.9672 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.867e-05/0.8349, allocations: 31.06 kB / 0.9672 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.8349, allocations: 0 / 0.9672 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.01518/0.8501, allocations: 7.648 MB / 0.9747 GB, free: 7.191 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches