Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001095/0.001095, allocations: 107 kB / 16.36 MB, free: 6.336 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.001104/0.001104, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.591/2.591, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.97 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3522, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002853/0.3551, allocations: 0.703 MB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002301/0.3575, allocations: 1.349 MB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.3576, allocations: 0 / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005158/0.3581, allocations: 199.5 kB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.3583, allocations: 95.73 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007625/0.359, allocations: 238 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0005437/0.3596, allocations: 491.7 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.935e-05/0.3597, allocations: 8 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.3599, allocations: 211.6 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.3602, allocations: 203.6 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.631e-05/0.3603, allocations: 20 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.3605, allocations: 79.95 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003626/0.3609, allocations: 255.5 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3611, allocations: 151.3 kB / 1.031 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000504/0.3616, allocations: 486.7 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.3616, allocations: 0 / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.953e-06/0.3616, allocations: 3.938 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.3616, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 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.001091/0.3627, allocations: 0.6307 MB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3628, allocations: 8.031 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.3629, allocations: 32.66 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.3635, allocations: 380 kB / 1.032 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.276e-05/0.3635, allocations: 20.36 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.3636, allocations: 20.38 kB / 1.032 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002941/0.3639, allocations: 188.7 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.3639, allocations: 4.125 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.3639, allocations: 7.938 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3639, allocations: 0 / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3641, allocations: 111.9 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.3645, allocations: 383.2 kB / 1.033 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.365, allocations: 319.6 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.3652, allocations: 126.5 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.03e-05/0.3652, allocations: 8 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.3656, allocations: 277.6 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.3656, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0008146/0.3664, allocations: 0.5009 MB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.371e-05/0.3665, allocations: 110.8 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.3669, allocations: 396.5 kB / 1.034 GB, free: 9.828 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.245e-05/0.367, allocations: 45.64 kB / 1.034 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.3672, allocations: 156.7 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.69e-05/0.3672, allocations: 43.45 kB / 1.035 GB, free: 9.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001689/0.3674, allocations: 117.6 kB / 1.035 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.3675, allocations: 342.8 kB / 1.035 GB, free: 9.113 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3677, allocations: 87.95 kB / 1.035 GB, free: 9.027 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.3682, allocations: 464 kB / 1.036 GB, free: 8.449 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.3685, allocations: 257.4 kB / 1.036 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3685, allocations: 0 / 1.036 GB, free: 8.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004874/0.369, allocations: 325.3 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.369, allocations: 18.62 kB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.369, allocations: 4 kB / 1.036 GB, free: 7.805 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3691, allocations: 4 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3692, allocations: 27.92 kB / 1.036 GB, free: 7.773 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/0.3693, allocations: 11.94 kB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.37, allocations: 68.66 kB / 1.036 GB, free: 7.695 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.37, allocations: 12 kB / 1.036 GB, free: 7.684 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.0002133/0.3702, allocations: 203.9 kB / 1.037 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.3703, allocations: 31.8 kB / 1.037 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.3703, allocations: 33.89 kB / 1.037 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.3703, allocations: 3.984 kB / 1.037 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3703, allocations: 4 kB / 1.037 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3704, allocations: 3.938 kB / 1.037 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.3707, allocations: 289.4 kB / 1.037 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3707, allocations: 8 kB / 1.037 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.3707, allocations: 7.938 kB / 1.037 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3707, allocations: 3.938 kB / 1.037 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.3707, allocations: 11.98 kB / 1.037 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3707, allocations: 0 / 1.037 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.3707, allocations: 4 kB / 1.037 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.3713, allocations: 430.3 kB / 1.037 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.536e-05/0.3714, allocations: 104.8 kB / 1.037 GB, free: 6.465 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.3714, allocations: 11.94 kB / 1.037 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.3715, allocations: 0 / 1.037 GB, free: 6.453 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.3716, allocations: 19.92 kB / 1.037 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.3716, allocations: 15.98 kB / 1.037 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002902/0.3719, allocations: 291 kB / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3719, allocations: 0 / 1.038 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003657/0.3723, allocations: 76 kB / 1.038 GB, free: 6.059 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.0002373/0.3725, allocations: 139.2 kB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004051/0.3729, allocations: 251.7 kB / 1.038 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3729, allocations: 0 / 1.038 GB, free: 5.668 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.3731, allocations: 152.7 kB / 1.038 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.3734, allocations: 24.66 kB / 1.038 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.3743, allocations: 0.565 MB / 1.039 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.3746, allocations: 0.7636 MB / 1.04 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.3748, allocations: 49.94 kB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.891e-05/0.3748, allocations: 27.44 kB / 1.04 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of SimCode: time 2.7e-07/0.3748, allocations: 3.938 kB / 1.04 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of Templates: time 0.009199/0.384, allocations: 4.992 MB / 1.045 GB, free: 15.07 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches