Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.009732/0.009732, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.001371/0.001371, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7425 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9509/0.9521, allocations: 159.1 MB / 1.221 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002684/0.9548, allocations: 0.8631 MB / 1.221 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.9574, allocations: 1.459 MB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.9575, allocations: 4 kB / 1.223 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.9581, allocations: 199.4 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002065/0.9583, allocations: 111.6 kB / 1.223 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001311/0.9596, allocations: 363.9 kB / 1.224 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.9608, allocations: 0.866 MB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.9611, allocations: 88.19 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004354/0.9615, allocations: 339.4 kB / 1.225 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004881/0.962, allocations: 267.2 kB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001593/0.9621, allocations: 48 kB / 1.225 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003346/0.9625, allocations: 99.94 kB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006146/0.9631, allocations: 348.2 kB / 1.226 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0004281/0.9635, allocations: 282.7 kB / 1.226 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.9648, allocations: 0.9079 MB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9648, allocations: 4 kB / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9648, allocations: 0 / 1.227 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.9648, allocations: 0 / 1.227 GB, free: 11.92 MB / 0.9512 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.002307/0.9671, allocations: 0.9033 MB / 1.228 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.9671, allocations: 12.03 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.9674, allocations: 56.66 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.9686, allocations: 0.5491 MB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.9686, allocations: 20.61 kB / 1.228 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.9688, allocations: 40.36 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.9694, allocations: 310.2 kB / 1.229 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.9695, allocations: 192 / 1.229 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.9695, allocations: 11.88 kB / 1.229 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.9695, allocations: 0 / 1.229 GB, free: 9.918 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004883/0.97, allocations: 223.8 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.9726, allocations: 1.184 MB / 1.23 GB, free: 8.457 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009196/0.9736, allocations: 467.8 kB / 1.23 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/0.974, allocations: 174.5 kB / 1.231 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.974, allocations: 0 / 1.231 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006703/0.9747, allocations: 337.5 kB / 1.231 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=24): time 1.753e-06/0.9747, allocations: 0 / 1.231 GB, free: 7.441 MB / 0.9512 GB Notification: Performance of matching and sorting (n=24): time 0.001508/0.9762, allocations: 0.6221 MB / 1.231 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.9763, allocations: 122.7 kB / 1.232 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.9773, allocations: 0.5916 MB / 1.232 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.9775, allocations: 45.7 kB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/0.9778, allocations: 221.5 kB / 1.232 GB, free: 5.797 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.592e-05/0.9779, allocations: 55.62 kB / 1.232 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003911/0.9783, allocations: 185.5 kB / 1.233 GB, free: 5.555 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002754/0.9786, allocations: 362.8 kB / 1.233 GB, free: 5.191 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.9788, allocations: 123.8 kB / 1.233 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/0.9801, allocations: 0.7193 MB / 1.234 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.9807, allocations: 304.6 kB / 1.234 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.9807, allocations: 0 / 1.234 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001059/0.9817, allocations: 417.7 kB / 1.234 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.9818, allocations: 8 kB / 1.234 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/0.9818, allocations: 4 kB / 1.234 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/0.9818, allocations: 12.36 kB / 1.234 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/0.9821, allocations: 39.8 kB / 1.235 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/0.9821, allocations: 4 kB / 1.235 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.9834, allocations: 140.1 kB / 1.235 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.9834, allocations: 8 kB / 1.235 GB, free: 3.207 MB / 0.9512 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.0003599/0.9838, allocations: 262 kB / 1.235 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.4e-05/0.9839, allocations: 51.7 kB / 1.235 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.482e-05/0.984, allocations: 51.36 kB / 1.235 GB, free: 2.84 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.984, allocations: 3.938 kB / 1.235 GB, free: 2.836 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.984, allocations: 4 kB / 1.235 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.984, allocations: 0 / 1.235 GB, free: 2.832 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005447/0.9845, allocations: 413.2 kB / 1.235 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.9845, allocations: 0 / 1.235 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.303e-05/0.9846, allocations: 4 kB / 1.235 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.9846, allocations: 4 kB / 1.235 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.9846, allocations: 11.98 kB / 1.235 GB, free: 2.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.9846, allocations: 3.938 kB / 1.235 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9846, allocations: 0 / 1.235 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.9853, allocations: 0.5202 MB / 1.236 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.9854, allocations: 124.8 kB / 1.236 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.9855, allocations: 8 kB / 1.236 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.9856, allocations: 19.92 kB / 1.236 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.128e-05/0.9857, allocations: 27.97 kB / 1.236 GB, free: 1.617 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.459e-05/0.9858, allocations: 15.98 kB / 1.236 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004767/0.9862, allocations: 435.1 kB / 1.237 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.9862, allocations: 0 / 1.237 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004895/0.9867, allocations: 111.8 kB / 1.237 GB, free: 1.062 MB / 0.9512 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.0002741/0.987, allocations: 157.3 kB / 1.237 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005855/0.9876, allocations: 339.6 kB / 1.237 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.9876, allocations: 0.75 kB / 1.237 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.9878, allocations: 171.8 kB / 1.237 GB, free: 412 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.9881, allocations: 38.33 kB / 1.237 GB, free: 376 kB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.9895, allocations: 0.8383 MB / 1.238 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.99, allocations: 0.8388 MB / 1.239 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.9902, allocations: 94.92 kB / 1.239 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.9903, allocations: 35.42 kB / 1.239 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/0.9903, allocations: 0 / 1.239 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of Templates: time 0.01453/1.005, allocations: 7.988 MB / 1.247 GB, free: 6.594 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches