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.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.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.001402/0.001402, allocations: 114.3 kB / 16.37 MB, free: 6 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.00141/0.00141, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.18 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.374/2.374, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 64.47 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3252, allocations: 140.4 MB / 0.9511 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.00218/0.3274, allocations: 0.8676 MB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001891/0.3293, allocations: 1.45 MB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.937e-05/0.3294, allocations: 4 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.33, allocations: 199.4 kB / 0.9536 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.3301, allocations: 111.6 kB / 0.9537 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3311, allocations: 366.7 kB / 0.9541 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.3322, allocations: 0.8738 MB / 0.9549 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002219/0.3324, allocations: 96.17 kB / 0.955 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003994/0.3328, allocations: 343.4 kB / 0.9553 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000375/0.3332, allocations: 275.2 kB / 0.9556 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3333, allocations: 44 kB / 0.9556 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002472/0.3336, allocations: 107.9 kB / 0.9557 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.334, allocations: 347.3 kB / 0.9561 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.3344, allocations: 270.8 kB / 0.9563 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008859/0.3353, allocations: 0.9116 MB / 0.9572 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3353, allocations: 0 / 0.9572 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3353, allocations: 0 / 0.9572 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.729e-06/0.3353, allocations: 4 kB / 0.9572 GB, free: 1.77 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001495/0.3368, allocations: 0.8918 MB / 0.9581 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3369, allocations: 8.031 kB / 0.9581 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000173/0.337, allocations: 48.47 kB / 0.9581 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.3379, allocations: 0.5448 MB / 0.9587 GB, free: 192 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/0.338, allocations: 24.61 kB / 0.9587 GB, free: 168 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.3381, allocations: 36.36 kB / 0.9587 GB, free: 132 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005013/0.3386, allocations: 317.8 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.3386, allocations: 4 kB / 0.959 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.3387, allocations: 4 kB / 0.959 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3387, allocations: 4 kB / 0.9591 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003324/0.339, allocations: 219.8 kB / 0.9593 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.3411, allocations: 1.179 MB / 0.9604 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006199/0.3417, allocations: 463.9 kB / 0.9609 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002269/0.3419, allocations: 178.5 kB / 0.961 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.342, allocations: 8 kB / 0.961 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004664/0.3425, allocations: 331.5 kB / 0.9613 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=24): time 2.144e-06/0.3425, allocations: 11.94 kB / 0.9614 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24): time 0.001105/0.3436, allocations: 0.6263 MB / 0.962 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.3437, allocations: 110.9 kB / 0.9621 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006906/0.3444, allocations: 0.5993 MB / 0.9627 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/0.3445, allocations: 45.7 kB / 0.9627 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.3447, allocations: 217.4 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.3448, allocations: 51.44 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.345, allocations: 185.5 kB / 0.9631 GB, free: 11.44 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001774/0.3452, allocations: 362.8 kB / 0.9635 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.3454, allocations: 123.9 kB / 0.9636 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008321/0.3462, allocations: 0.7135 MB / 0.9643 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005123/0.3468, allocations: 304.6 kB / 0.9646 GB, free: 9.723 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3468, allocations: 4 kB / 0.9646 GB, free: 9.719 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006724/0.3475, allocations: 420.7 kB / 0.965 GB, free: 9.301 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3475, allocations: 4 kB / 0.965 GB, free: 9.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.3475, allocations: 7.938 kB / 0.965 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3475, allocations: 4 kB / 0.965 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.3477, allocations: 40.14 kB / 0.965 GB, free: 9.246 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.3477, allocations: 7.938 kB / 0.9651 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3489, allocations: 136.2 kB / 0.9652 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.434e-05/0.3489, allocations: 12 kB / 0.9652 GB, free: 9.094 MB / 0.7481 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.0003346/0.3493, allocations: 265.6 kB / 0.9655 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.474e-05/0.3493, allocations: 39.44 kB / 0.9655 GB, free: 8.789 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.735e-05/0.3494, allocations: 59.3 kB / 0.9655 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3494, allocations: 4 kB / 0.9656 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3495, allocations: 0 / 0.9656 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3495, allocations: 0 / 0.9656 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003911/0.3499, allocations: 401.3 kB / 0.9659 GB, free: 8.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3499, allocations: 4 kB / 0.9659 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.3499, allocations: 7.938 kB / 0.9659 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3499, allocations: 0 / 0.9659 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3499, allocations: 19.92 kB / 0.966 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3499, allocations: 0 / 0.966 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.35, allocations: 4 kB / 0.966 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.3506, allocations: 0.5117 MB / 0.9665 GB, free: 7.711 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.3508, allocations: 124.6 kB / 0.9666 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.11e-05/0.3509, allocations: 15.94 kB / 0.9666 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.351, allocations: 15.98 kB / 0.9666 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.384e-05/0.3511, allocations: 31.97 kB / 0.9666 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.3511, allocations: 19.92 kB / 0.9667 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005172/0.3517, allocations: 435.1 kB / 0.9671 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3517, allocations: 0 / 0.9671 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004956/0.3522, allocations: 104 kB / 0.9672 GB, free: 6.961 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: 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.0002724/0.3525, allocations: 153.3 kB / 0.9673 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006111/0.3531, allocations: 359.6 kB / 0.9677 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3531, allocations: 0 / 0.9677 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002706/0.3534, allocations: 191.8 kB / 0.9679 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3537, allocations: 34.7 kB / 0.9679 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.355, allocations: 0.827 MB / 0.9687 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/0.3554, allocations: 0.8272 MB / 0.9695 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002162/0.3556, allocations: 94.92 kB / 0.9696 GB, free: 4.414 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.889e-05/0.3557, allocations: 39.42 kB / 0.9696 GB, free: 4.375 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.3557, allocations: 4 kB / 0.9696 GB, free: 4.371 MB / 0.7481 GB Notification: Performance of Templates: time 0.01269/0.3684, allocations: 7.934 MB / 0.9774 GB, free: 12.53 MB / 0.7637 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 -s cvode -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/jenkins1/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