Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001864/0.001864, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.462/1.462, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.496/2.496, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 64.12 kB / 0.8707 GB, free: 1.375 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3369, allocations: 151.6 MB / 1.019 GB, free: 9.785 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002122/0.3391, allocations: 0.6878 MB / 1.019 GB, free: 9.098 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.3408, allocations: 1.34 MB / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.3409, allocations: 0 / 1.021 GB, free: 7.742 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.3414, allocations: 195.5 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3415, allocations: 107.7 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006872/0.3422, allocations: 223.8 kB / 1.021 GB, free: 7.23 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005619/0.3428, allocations: 0.4957 MB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3428, allocations: 4 kB / 1.022 GB, free: 6.727 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.343, allocations: 207.7 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.3433, allocations: 199.6 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.325e-05/0.3434, allocations: 24 kB / 1.022 GB, free: 6.305 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001877/0.3436, allocations: 83.88 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003569/0.344, allocations: 259.4 kB / 1.023 GB, free: 5.969 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.3442, allocations: 155.3 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.3447, allocations: 470.8 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3447, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.346e-06/0.3447, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.3448, allocations: 3.938 kB / 1.023 GB, free: 5.352 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001035/0.3458, allocations: 0.6423 MB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.3458, allocations: 8.922 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.346, allocations: 36.64 kB / 1.024 GB, free: 4.613 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.3466, allocations: 376.1 kB / 1.024 GB, free: 4.207 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.3467, allocations: 16.38 kB / 1.024 GB, free: 4.191 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.011e-05/0.3467, allocations: 20.38 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003183/0.3471, allocations: 192.6 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3471, allocations: 192 / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.3471, allocations: 3.938 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.842e-06/0.3471, allocations: 0 / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002051/0.3473, allocations: 115.9 kB / 1.024 GB, free: 3.852 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.3478, allocations: 387.1 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.3483, allocations: 311.6 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.3485, allocations: 126.6 kB / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.3485, allocations: 0 / 1.025 GB, free: 2.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004411/0.3489, allocations: 285.6 kB / 1.026 GB, free: 2.652 MB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 3.006e-06/0.3489, allocations: 3.984 kB / 1.026 GB, free: 2.648 MB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.0008719/0.3498, allocations: 0.5009 MB / 1.026 GB, free: 2.141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.826e-05/0.3499, allocations: 114.7 kB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000462/0.3504, allocations: 392.5 kB / 1.027 GB, free: 1.613 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.691e-05/0.3505, allocations: 45.69 kB / 1.027 GB, free: 1.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3506, allocations: 156.8 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.3506, allocations: 47.47 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.3508, allocations: 117.5 kB / 1.027 GB, free: 1.238 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.351, allocations: 342.8 kB / 1.027 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.3511, allocations: 87.89 kB / 1.027 GB, free: 0.8086 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004978/0.3516, allocations: 468 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.3519, allocations: 257.6 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.3519, allocations: 0 / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004744/0.3524, allocations: 333 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.3525, allocations: 11.94 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3525, allocations: 0 / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3525, allocations: 11.98 kB / 1.028 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.3526, allocations: 27.92 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3527, allocations: 4 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006994/0.3534, allocations: 64.16 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.191e-05/0.3534, allocations: 12 kB / 1.028 GB, free: 15.46 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002433/0.3537, allocations: 195.9 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.3537, allocations: 31.56 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.921e-05/0.3538, allocations: 33.89 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3538, allocations: 4 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-06/0.3538, allocations: 3.938 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.3538, allocations: 7.984 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.3541, allocations: 285.5 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.3541, allocations: 3.984 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.3542, allocations: 4 kB / 1.029 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3542, allocations: 8.109 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.3542, allocations: 8 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.3542, allocations: 4 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3542, allocations: 0 / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/0.3548, allocations: 452.5 kB / 1.029 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.3549, allocations: 96.83 kB / 1.029 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.355, allocations: 7.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.737e-05/0.355, allocations: 7.984 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.3551, allocations: 15.98 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.3551, allocations: 8 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003093/0.3555, allocations: 295 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3555, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003591/0.3558, allocations: 79.98 kB / 1.03 GB, free: 13.84 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: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002241/0.3561, allocations: 143.7 kB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004089/0.3565, allocations: 252.4 kB / 1.03 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3565, allocations: 0 / 1.03 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.3567, allocations: 152.7 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.357, allocations: 24.58 kB / 1.03 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.3579, allocations: 0.569 MB / 1.031 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004467/0.3583, allocations: 0.7636 MB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001086/0.3585, allocations: 45.95 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.217e-05/0.3585, allocations: 31.42 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3585, allocations: 0 / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of Templates: time 0.009072/0.3676, allocations: 4.992 MB / 1.037 GB, free: 6.871 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches