Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001633/0.001633, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001872/0.001872, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.64 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3068, allocations: 140.4 MB / 0.9511 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002146/0.309, allocations: 0.6885 MB / 0.9518 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002237/0.3112, allocations: 1.341 MB / 0.9531 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.3114, allocations: 7.875 kB / 0.9531 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005685/0.3119, allocations: 187.6 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001481/0.3121, allocations: 103.7 kB / 0.9534 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009173/0.313, allocations: 234.9 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006299/0.3137, allocations: 491.7 kB / 0.9541 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.3137, allocations: 7.984 kB / 0.9541 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.3141, allocations: 203.7 kB / 0.9543 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003808/0.3144, allocations: 207.5 kB / 0.9545 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.3146, allocations: 28 kB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/0.3148, allocations: 83.89 kB / 0.9546 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.3151, allocations: 251.5 kB / 0.9548 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3153, allocations: 147.3 kB / 0.955 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.3158, allocations: 482.7 kB / 0.9554 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3158, allocations: 0 / 0.9554 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3158, allocations: 0 / 0.9554 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.3158, allocations: 0 / 0.9554 GB, free: 3.645 MB / 0.7325 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.001022/0.3169, allocations: 0.6423 MB / 0.9561 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3169, allocations: 8.031 kB / 0.9561 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.317, allocations: 32.56 kB / 0.9561 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.3176, allocations: 388.1 kB / 0.9565 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.3177, allocations: 16.31 kB / 0.9565 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.84e-05/0.3177, allocations: 24.38 kB / 0.9565 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.318, allocations: 192.2 kB / 0.9567 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.318, allocations: 0 / 0.9567 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.3181, allocations: 7.984 kB / 0.9567 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3181, allocations: 0 / 0.9567 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.3182, allocations: 111.9 kB / 0.9568 GB, free: 2.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.3186, allocations: 383.1 kB / 0.9572 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.3191, allocations: 319.6 kB / 0.9575 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.3192, allocations: 126.6 kB / 0.9576 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.3192, allocations: 0 / 0.9576 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004167/0.3197, allocations: 281.5 kB / 0.9579 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.3197, allocations: 0 / 0.9579 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18): time 0.0007698/0.3205, allocations: 0.4932 MB / 0.9584 GB, free: 448 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3205, allocations: 114.8 kB / 0.9585 GB, free: 308 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.3209, allocations: 400.5 kB / 0.9589 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.321, allocations: 37.7 kB / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3211, allocations: 156.8 kB / 0.959 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.3212, allocations: 35.45 kB / 0.9591 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.3214, allocations: 117.6 kB / 0.9592 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3215, allocations: 346.8 kB / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3216, allocations: 79.95 kB / 0.9596 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000463/0.3221, allocations: 463.5 kB / 0.96 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.3224, allocations: 257.4 kB / 0.9603 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3224, allocations: 0 / 0.9603 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004884/0.3229, allocations: 332.8 kB / 0.9606 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3229, allocations: 11.94 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.3229, allocations: 0 / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.3229, allocations: 8.234 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3231, allocations: 31.92 kB / 0.9606 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3231, allocations: 12.05 kB / 0.9607 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.3238, allocations: 80.78 kB / 0.9607 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/0.3238, allocations: 12 kB / 0.9607 GB, free: 13.75 MB / 0.7481 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.000195/0.324, allocations: 195.9 kB / 0.9609 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.3241, allocations: 31.56 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.073e-05/0.3241, allocations: 33.89 kB / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3241, allocations: 8 kB / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3242, allocations: 0 / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3242, allocations: 0 / 0.961 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.3244, allocations: 285.5 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3244, allocations: 3.938 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.385e-05/0.3245, allocations: 4 kB / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3245, allocations: 0 / 0.9613 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3245, allocations: 7.984 kB / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3245, allocations: 4 kB / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3245, allocations: 0 / 0.9613 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.325, allocations: 448.7 kB / 0.9617 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/0.3251, allocations: 104.8 kB / 0.9618 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.3252, allocations: 0 / 0.9618 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.3253, allocations: 7.938 kB / 0.9618 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.3253, allocations: 23.97 kB / 0.9618 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.3253, allocations: 8 kB / 0.9619 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002674/0.3256, allocations: 295 kB / 0.9621 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3256, allocations: 0 / 0.9621 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003538/0.326, allocations: 72 kB / 0.9622 GB, free: 12.15 MB / 0.7481 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.0002144/0.3262, allocations: 143.1 kB / 0.9623 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.3266, allocations: 268.3 kB / 0.9626 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3266, allocations: 0 / 0.9626 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.3268, allocations: 147.9 kB / 0.9627 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3271, allocations: 28.83 kB / 0.9628 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008095/0.3279, allocations: 0.5611 MB / 0.9633 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.3282, allocations: 0.7636 MB / 0.9641 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000115/0.3284, allocations: 54.11 kB / 0.9641 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.3284, allocations: 31.42 kB / 0.9641 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of SimCode: time 4.01e-07/0.3284, allocations: 3.938 kB / 0.9641 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.008716/0.3372, allocations: 4.992 MB / 0.969 GB, free: 5.156 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches