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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00927/0.00927, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.002028/0.002028, allocations: 200.1 kB / 16.68 MB, free: 5.965 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.695/2.695, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.072, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002391/1.074, allocations: 0.6836 MB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002371/1.077, allocations: 1.349 MB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/1.077, allocations: 7.938 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006116/1.078, allocations: 179.6 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001521/1.078, allocations: 107.7 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009434/1.079, allocations: 226.8 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007164/1.079, allocations: 0.4918 MB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.472e-05/1.08, allocations: 4 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004599/1.08, allocations: 203.8 kB / 1.211 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/1.081, allocations: 207.5 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/1.081, allocations: 20 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003174/1.081, allocations: 91.88 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004176/1.081, allocations: 251.5 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002938/1.082, allocations: 147.3 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007263/1.082, allocations: 474.6 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/1.082, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/1.082, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.082, allocations: 4 kB / 1.212 GB, free: 9.184 MB / 0.9356 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.001428/1.084, allocations: 0.6364 MB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/1.084, allocations: 12.03 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/1.084, allocations: 40.58 kB / 1.213 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006929/1.085, allocations: 388 kB / 1.213 GB, free: 8.027 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/1.085, allocations: 16.36 kB / 1.213 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-05/1.085, allocations: 20.38 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/1.085, allocations: 188.7 kB / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.085, allocations: 192 / 1.213 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/1.085, allocations: 7.938 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.085, allocations: 8 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001972/1.086, allocations: 107.9 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005183/1.086, allocations: 383.1 kB / 1.214 GB, free: 7.242 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/1.087, allocations: 319.7 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/1.087, allocations: 122.5 kB / 1.214 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/1.087, allocations: 0 / 1.214 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000529/1.087, allocations: 285.6 kB / 1.214 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.292e-06/1.087, allocations: 0 / 1.214 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0009178/1.088, allocations: 0.4931 MB / 1.215 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.088, allocations: 118.8 kB / 1.215 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/1.089, allocations: 396.5 kB / 1.215 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.425e-05/1.089, allocations: 41.69 kB / 1.215 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/1.089, allocations: 152.8 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/1.089, allocations: 43.5 kB / 1.216 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/1.089, allocations: 117.6 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001615/1.09, allocations: 338.8 kB / 1.216 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/1.09, allocations: 87.95 kB / 1.216 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005536/1.09, allocations: 468.2 kB / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/1.091, allocations: 253.5 kB / 1.217 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.091, allocations: 3.938 kB / 1.217 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005393/1.091, allocations: 328.9 kB / 1.217 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.091, allocations: 11.94 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.091, allocations: 4 kB / 1.217 GB, free: 3.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.933e-05/1.091, allocations: 7.984 kB / 1.217 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/1.091, allocations: 31.92 kB / 1.217 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/1.091, allocations: 7.938 kB / 1.217 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007649/1.092, allocations: 81.05 kB / 1.217 GB, free: 3.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/1.092, allocations: 16 kB / 1.217 GB, free: 3.27 MB / 0.9356 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.0002625/1.093, allocations: 188 kB / 1.218 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/1.093, allocations: 31.66 kB / 1.218 GB, free: 3.047 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/1.093, allocations: 33.89 kB / 1.218 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.093, allocations: 0 / 1.218 GB, free: 3.016 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.093, allocations: 4 kB / 1.218 GB, free: 3.012 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/1.093, allocations: 7.984 kB / 1.218 GB, free: 3.004 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003632/1.093, allocations: 281.4 kB / 1.218 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.093, allocations: 3.984 kB / 1.218 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-05/1.093, allocations: 4 kB / 1.218 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/1.093, allocations: 7.938 kB / 1.218 GB, free: 2.664 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/1.093, allocations: 4 kB / 1.218 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.093, allocations: 0 / 1.218 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.093, allocations: 0 / 1.218 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/1.094, allocations: 440.1 kB / 1.218 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/1.094, allocations: 108.7 kB / 1.218 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/1.094, allocations: 11.94 kB / 1.218 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/1.094, allocations: 7.984 kB / 1.218 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/1.094, allocations: 15.98 kB / 1.218 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/1.094, allocations: 12 kB / 1.218 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003261/1.094, allocations: 291 kB / 1.219 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.41e-07/1.094, allocations: 0 / 1.219 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004083/1.095, allocations: 79.98 kB / 1.219 GB, free: 1.676 MB / 0.9356 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.0002768/1.095, allocations: 135.1 kB / 1.219 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004722/1.096, allocations: 260.2 kB / 1.219 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.096, allocations: 4.25 kB / 1.219 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002027/1.096, allocations: 143.9 kB / 1.219 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/1.096, allocations: 24.64 kB / 1.219 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009883/1.097, allocations: 0.561 MB / 1.22 GB, free: 0.5195 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/1.098, allocations: 0.7713 MB / 1.221 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001391/1.098, allocations: 46.12 kB / 1.221 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/1.098, allocations: 27.42 kB / 1.221 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of SimCode: time 4.41e-07/1.098, allocations: 3.938 kB / 1.221 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.01026/1.108, allocations: 5.024 MB / 1.226 GB, free: 10.67 MB / 0.9512 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 -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/jenkins/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