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.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.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.001515/0.001515, allocations: 104.8 kB / 16.4 MB, free: 6.465 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.001592/0.001592, allocations: 192 kB / 17.34 MB, free: 5.715 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.563/1.563, allocations: 222.9 MB / 241 MB, free: 15.1 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.72/2.72, allocations: 437.1 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00239/0.00239, allocations: 68.03 kB / 1.019 GB, free: 9.395 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.029, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002654/1.032, allocations: 0.69 MB / 1.168 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002974/1.035, allocations: 1.353 MB / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.02e-05/1.035, allocations: 0 / 1.169 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007422/1.036, allocations: 191.5 kB / 1.17 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001966/1.036, allocations: 99.72 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/1.037, allocations: 235.7 kB / 1.17 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0008939/1.038, allocations: 491.7 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 8.448e-05/1.038, allocations: 7.984 kB / 1.17 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003642/1.038, allocations: 203.7 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005313/1.039, allocations: 207.5 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/1.039, allocations: 20 kB / 1.171 GB, free: 368 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003284/1.039, allocations: 91.92 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0005462/1.04, allocations: 247.5 kB / 1.171 GB, free: 28 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000301/1.04, allocations: 147.3 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007887/1.041, allocations: 483 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.041, allocations: 0 / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.745e-06/1.041, allocations: 4 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.347e-06/1.041, allocations: 0 / 1.172 GB, free: 15.41 MB / 0.9044 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.001546/1.043, allocations: 0.6499 MB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/1.043, allocations: 12.92 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001804/1.043, allocations: 28.8 kB / 1.172 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007985/1.044, allocations: 388.3 kB / 1.173 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/1.044, allocations: 12.38 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/1.044, allocations: 20.38 kB / 1.173 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/1.044, allocations: 192.6 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/1.045, allocations: 4.188 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.487e-05/1.045, allocations: 7.922 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/1.045, allocations: 0 / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/1.045, allocations: 107.9 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/1.046, allocations: 391.1 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008207/1.046, allocations: 319.6 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/1.047, allocations: 126.6 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/1.047, allocations: 4 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/1.048, allocations: 285.6 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/1.048, allocations: 4 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001233/1.049, allocations: 0.4895 MB / 1.175 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/1.049, allocations: 118.8 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006859/1.05, allocations: 396.5 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.49e-05/1.05, allocations: 37.7 kB / 1.175 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/1.05, allocations: 152.8 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/1.05, allocations: 39.73 kB / 1.175 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003018/1.05, allocations: 117.6 kB / 1.175 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000244/1.051, allocations: 350.8 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/1.051, allocations: 83.89 kB / 1.176 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008707/1.052, allocations: 471.5 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/1.052, allocations: 249.5 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.052, allocations: 7.938 kB / 1.177 GB, free: 9.969 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008296/1.053, allocations: 321.1 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/1.053, allocations: 7.938 kB / 1.177 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.053, allocations: 4.406 kB / 1.177 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/1.053, allocations: 12 kB / 1.177 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/1.053, allocations: 35.86 kB / 1.177 GB, free: 9.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/1.053, allocations: 7.984 kB / 1.177 GB, free: 9.582 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/1.055, allocations: 64.58 kB / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/1.055, allocations: 16 kB / 1.177 GB, free: 9.504 MB / 0.9044 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.0003952/1.055, allocations: 199.9 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/1.055, allocations: 31.75 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.194e-05/1.055, allocations: 33.89 kB / 1.177 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/1.055, allocations: 4 kB / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/1.055, allocations: 0 / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/1.055, allocations: 0 / 1.177 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/1.056, allocations: 285.5 kB / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.056, allocations: 0 / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/1.056, allocations: 11.92 kB / 1.177 GB, free: 8.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.056, allocations: 12.11 kB / 1.178 GB, free: 8.883 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/1.056, allocations: 4 kB / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/1.056, allocations: 0 / 1.178 GB, free: 8.879 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.056, allocations: 4 kB / 1.178 GB, free: 8.875 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009513/1.057, allocations: 434.4 kB / 1.178 GB, free: 8.426 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/1.057, allocations: 108.9 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.727e-05/1.057, allocations: 11.94 kB / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/1.057, allocations: 4 kB / 1.178 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/1.057, allocations: 23.91 kB / 1.178 GB, free: 8.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/1.057, allocations: 12 kB / 1.178 GB, free: 8.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005062/1.058, allocations: 287 kB / 1.178 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.91e-07/1.058, allocations: 0 / 1.178 GB, free: 7.969 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007385/1.059, allocations: 83.86 kB / 1.178 GB, free: 7.887 MB / 0.9044 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.0003983/1.059, allocations: 135.8 kB / 1.179 GB, free: 7.742 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0007195/1.06, allocations: 258.3 kB / 1.179 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.06, allocations: 0 / 1.179 GB, free: 7.492 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003249/1.06, allocations: 143.9 kB / 1.179 GB, free: 7.352 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/1.061, allocations: 33.39 kB / 1.179 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/1.062, allocations: 0.5722 MB / 1.18 GB, free: 6.707 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/1.063, allocations: 0.7636 MB / 1.18 GB, free: 5.918 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0002229/1.063, allocations: 53.94 kB / 1.18 GB, free: 5.867 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/1.063, allocations: 27.42 kB / 1.18 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of SimCode: time 9.31e-07/1.063, allocations: 0 / 1.18 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of Templates: time 0.0151/1.078, allocations: 5.025 MB / 1.185 GB, free: 0.8672 MB / 0.9044 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 cvode -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