Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001194/0.001199, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001234/0.001234, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.405/1.405, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.675/2.675, allocations: 437 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 67.14 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3487, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003105/0.3519, allocations: 0.8681 MB / 1.019 GB, free: 9.754 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.3544, allocations: 1.461 MB / 1.02 GB, free: 8.277 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.3546, allocations: 7.938 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006174/0.3553, allocations: 187.5 kB / 1.02 GB, free: 8.086 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.3555, allocations: 115.6 kB / 1.021 GB, free: 7.973 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.3569, allocations: 350.5 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.3582, allocations: 0.8582 MB / 1.022 GB, free: 6.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.3585, allocations: 104.2 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.3591, allocations: 339.5 kB / 1.022 GB, free: 6.34 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.3597, allocations: 267.2 kB / 1.022 GB, free: 6.078 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003139/0.3601, allocations: 44 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.3605, allocations: 111.9 kB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006238/0.3611, allocations: 347.3 kB / 1.023 GB, free: 5.586 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006322/0.3618, allocations: 266.9 kB / 1.023 GB, free: 5.324 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.3632, allocations: 0.9079 MB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.3632, allocations: 0 / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3632, allocations: 4 kB / 1.024 GB, free: 4.41 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.3632, allocations: 4 kB / 1.024 GB, free: 4.406 MB / 0.795 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.00239/0.3656, allocations: 0.8879 MB / 1.025 GB, free: 3.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3657, allocations: 12.88 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002549/0.3659, allocations: 56.38 kB / 1.025 GB, free: 3.398 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3669, allocations: 0.5371 MB / 1.025 GB, free: 2.82 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.089e-05/0.367, allocations: 20.61 kB / 1.026 GB, free: 2.801 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.3671, allocations: 40.36 kB / 1.026 GB, free: 2.762 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.3677, allocations: 311.2 kB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3677, allocations: 192 / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.274e-05/0.3678, allocations: 3.938 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3678, allocations: 4 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003952/0.3682, allocations: 227.8 kB / 1.026 GB, free: 2.215 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.3705, allocations: 1.191 MB / 1.027 GB, free: 0.9648 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006885/0.3712, allocations: 471.8 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.3715, allocations: 182.5 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.3715, allocations: 4 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/0.3721, allocations: 328.3 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=24): time 3.397e-06/0.3721, allocations: 4 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24): time 0.001138/0.3732, allocations: 0.6295 MB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.3733, allocations: 114.7 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.3742, allocations: 0.5955 MB / 1.029 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.3743, allocations: 49.7 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003047/0.3746, allocations: 226.5 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.3747, allocations: 43.5 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.3751, allocations: 185.5 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.3753, allocations: 362.8 kB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.3755, allocations: 123.9 kB / 1.03 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.3764, allocations: 0.7148 MB / 1.031 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003725/0.3768, allocations: 300.6 kB / 1.031 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3768, allocations: 7.938 kB / 1.031 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000667/0.3774, allocations: 416.7 kB / 1.032 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3775, allocations: 4.375 kB / 1.032 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.3775, allocations: 8 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.3775, allocations: 7.938 kB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.3777, allocations: 35.91 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3777, allocations: 7.938 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.3792, allocations: 136 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.3792, allocations: 16 kB / 1.032 GB, free: 11.71 MB / 0.8106 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.000371/0.3796, allocations: 257.4 kB / 1.032 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.3797, allocations: 39.53 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.3798, allocations: 59.3 kB / 1.032 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3798, allocations: 4 kB / 1.032 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/0.3798, allocations: 4 kB / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3799, allocations: 0 / 1.032 GB, free: 11.35 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/0.3803, allocations: 410 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3803, allocations: 4 kB / 1.033 GB, free: 10.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.275e-05/0.3804, allocations: 4 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.014e-06/0.3804, allocations: 0 / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3804, allocations: 19.86 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3804, allocations: 0 / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.334e-05/0.3805, allocations: 4 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007697/0.3812, allocations: 0.5137 MB / 1.033 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3814, allocations: 124.6 kB / 1.033 GB, free: 10.19 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.3814, allocations: 15.88 kB / 1.033 GB, free: 10.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.3817, allocations: 11.98 kB / 1.033 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.3818, allocations: 35.91 kB / 1.033 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.3818, allocations: 15.98 kB / 1.033 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005597/0.3824, allocations: 431.1 kB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3824, allocations: 4 kB / 1.034 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005298/0.3829, allocations: 111.9 kB / 1.034 GB, free: 9.582 MB / 0.8106 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.0002891/0.3832, allocations: 137.5 kB / 1.034 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006181/0.3839, allocations: 372.1 kB / 1.034 GB, free: 9.074 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3839, allocations: 4.062 kB / 1.034 GB, free: 9.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.3842, allocations: 227.8 kB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3846, allocations: 37.95 kB / 1.035 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.3861, allocations: 0.8772 MB / 1.036 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.3866, allocations: 0.835 MB / 1.036 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.3867, allocations: 39.42 kB / 1.036 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3867, allocations: 0 / 1.036 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of Templates: time 0.01224/0.3989, allocations: 6.961 MB / 1.043 GB, free: 184 kB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches