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.001622/0.001622, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002245/0.002245, allocations: 195 kB / 16.53 MB, free: 6.664 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.46/1.46, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.474/2.474, allocations: 390.2 MB / 0.6646 GB, free: 480 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 67.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.8431, allocations: 140.4 MB / 0.9496 GB, free: 9.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002267/0.8455, allocations: 0.8661 MB / 0.9505 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001684/0.8472, allocations: 1.447 MB / 0.9519 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.445e-05/0.8472, allocations: 10.91 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004873/0.8477, allocations: 194 kB / 0.9521 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/0.8479, allocations: 110.3 kB / 0.9522 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009388/0.8488, allocations: 357.8 kB / 0.9525 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009805/0.8498, allocations: 0.8587 MB / 0.9533 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002281/0.8501, allocations: 97.44 kB / 0.9534 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003895/0.8505, allocations: 342.3 kB / 0.9538 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003809/0.8508, allocations: 264.4 kB / 0.954 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.851, allocations: 46.09 kB / 0.9541 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002918/0.8513, allocations: 106.2 kB / 0.9542 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003893/0.8517, allocations: 341.7 kB / 0.9545 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003316/0.8521, allocations: 285.2 kB / 0.9548 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.8529, allocations: 0.8981 MB / 0.9556 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8529, allocations: 0 / 0.9556 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8529, allocations: 1.688 kB / 0.9556 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.8529, allocations: 0 / 0.9556 GB, free: 4.949 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.001555/0.8545, allocations: 0.8941 MB / 0.9565 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.8545, allocations: 8.25 kB / 0.9565 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002307/0.8548, allocations: 50.72 kB / 0.9566 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007702/0.8555, allocations: 0.5403 MB / 0.9571 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.987e-05/0.8556, allocations: 28.56 kB / 0.9571 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.8557, allocations: 36.34 kB / 0.9572 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000468/0.8562, allocations: 315.2 kB / 0.9575 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.8562, allocations: 0 / 0.9575 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.8562, allocations: 6.125 kB / 0.9575 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.8562, allocations: 6.094 kB / 0.9575 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003547/0.8566, allocations: 219.3 kB / 0.9577 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.8584, allocations: 1.186 MB / 0.9588 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/0.8591, allocations: 470.5 kB / 0.9593 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002545/0.8593, allocations: 173.9 kB / 0.9595 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.8594, allocations: 2.312 kB / 0.9595 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004264/0.8598, allocations: 342.1 kB / 0.9598 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.8598, allocations: 0 / 0.9598 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24): time 0.001035/0.8608, allocations: 0.6306 MB / 0.9604 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.8609, allocations: 121 kB / 0.9605 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008355/0.8617, allocations: 0.5912 MB / 0.9611 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-05/0.8618, allocations: 44.42 kB / 0.9611 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.8621, allocations: 225.6 kB / 0.9613 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.8622, allocations: 57 kB / 0.9614 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002893/0.8624, allocations: 183.6 kB / 0.9616 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.8626, allocations: 362.5 kB / 0.9619 GB, free: 496 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.8628, allocations: 119.9 kB / 0.962 GB, free: 448 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009724/0.8638, allocations: 0.7244 MB / 0.9627 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005789/0.8644, allocations: 293.2 kB / 0.963 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.8644, allocations: 5.062 kB / 0.963 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008195/0.8652, allocations: 416.8 kB / 0.9634 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.8652, allocations: 15.58 kB / 0.9634 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.8653, allocations: 3.281 kB / 0.9634 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.8653, allocations: 5.844 kB / 0.9634 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.8655, allocations: 38.27 kB / 0.9635 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.8655, allocations: 12.64 kB / 0.9635 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.8669, allocations: 126.9 kB / 0.9636 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.8669, allocations: 14.91 kB / 0.9636 GB, free: 15.27 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.0003869/0.8673, allocations: 256.9 kB / 0.9639 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.8674, allocations: 46.25 kB / 0.9639 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.8675, allocations: 49.83 kB / 0.964 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.8675, allocations: 3.281 kB / 0.964 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.8676, allocations: 1.188 kB / 0.964 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.365e-06/0.8676, allocations: 5.188 kB / 0.964 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.8681, allocations: 410.1 kB / 0.9644 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.8681, allocations: 4.906 kB / 0.9644 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.8682, allocations: 8.219 kB / 0.9644 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.8682, allocations: 6.062 kB / 0.9644 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.577e-05/0.8682, allocations: 11.17 kB / 0.9644 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/0.8682, allocations: 2.125 kB / 0.9644 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.8682, allocations: 0.9062 kB / 0.9644 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008781/0.8691, allocations: 0.5114 MB / 0.9649 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001814/0.8693, allocations: 135.6 kB / 0.965 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.314e-05/0.8694, allocations: 2.219 kB / 0.965 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.8695, allocations: 16.61 kB / 0.965 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.139e-05/0.8696, allocations: 33.73 kB / 0.9651 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.8697, allocations: 15.55 kB / 0.9651 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0005528/0.8702, allocations: 432.9 kB / 0.9655 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8702, allocations: 0 / 0.9655 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000536/0.8708, allocations: 110.1 kB / 0.9656 GB, free: 13.96 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.0003079/0.8711, allocations: 151.2 kB / 0.9658 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006247/0.8717, allocations: 361.1 kB / 0.9661 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8717, allocations: 0.75 kB / 0.9661 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002994/0.8721, allocations: 199.4 kB / 0.9663 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.8724, allocations: 47.84 kB / 0.9663 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.8739, allocations: 0.8347 MB / 0.9672 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.8744, allocations: 0.8327 MB / 0.968 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002861/0.8747, allocations: 94.45 kB / 0.9681 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.8748, allocations: 35.28 kB / 0.9681 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.8748, allocations: 0 / 0.9681 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.01439/0.8892, allocations: 7.925 MB / 0.9758 GB, free: 6.441 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