Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001281/0.001281, allocations: 104.2 kB / 16.41 MB, free: 6.512 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.001151/0.001151, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.372/1.372, allocations: 222.9 MB / 241 MB, free: 15.19 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.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 59.91 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.949/0.9504, allocations: 151.6 MB / 1.167 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002454/0.9529, allocations: 0.8724 MB / 1.168 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.9552, allocations: 1.454 MB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.9554, allocations: 8 kB / 1.17 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005617/0.956, allocations: 195.4 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002107/0.9562, allocations: 111.6 kB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.9574, allocations: 363.2 kB / 1.17 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000996/0.9584, allocations: 0.8776 MB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.9586, allocations: 92.17 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005597/0.9592, allocations: 343.5 kB / 1.172 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005284/0.9597, allocations: 275.2 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.96, allocations: 44 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003289/0.9603, allocations: 107.9 kB / 1.172 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.9608, allocations: 347.3 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.9613, allocations: 266.9 kB / 1.173 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.9625, allocations: 0.9171 MB / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.9625, allocations: 0 / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.482e-06/0.9625, allocations: 0 / 1.173 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.9626, allocations: 4 kB / 1.173 GB, free: 13.6 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.002151/0.9647, allocations: 0.8802 MB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.9648, allocations: 12.88 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002829/0.9651, allocations: 60.36 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.9662, allocations: 0.5448 MB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.9662, allocations: 20.61 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.9663, allocations: 44.36 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.9668, allocations: 310.2 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.9668, allocations: 192 / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.9669, allocations: 3.938 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.9669, allocations: 4 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.9673, allocations: 219.8 kB / 1.175 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002427/0.9697, allocations: 1.184 MB / 1.177 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.9704, allocations: 459.8 kB / 1.177 GB, free: 9.684 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.9706, allocations: 186.5 kB / 1.177 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.9707, allocations: 8 kB / 1.177 GB, free: 9.484 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004497/0.9711, allocations: 330.8 kB / 1.178 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/0.9711, allocations: 4 kB / 1.178 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24): time 0.00107/0.9722, allocations: 0.6148 MB / 1.178 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.273e-05/0.9723, allocations: 122.7 kB / 1.178 GB, free: 8.371 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/0.973, allocations: 0.5916 MB / 1.179 GB, free: 7.77 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.9731, allocations: 45.7 kB / 1.179 GB, free: 7.719 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.9734, allocations: 217.5 kB / 1.179 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.9734, allocations: 55.28 kB / 1.179 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.9737, allocations: 185.5 kB / 1.179 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.9739, allocations: 366.8 kB / 1.18 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.974, allocations: 135.7 kB / 1.18 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008016/0.9748, allocations: 0.7071 MB / 1.18 GB, free: 5.883 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003675/0.9752, allocations: 308.4 kB / 1.181 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.9752, allocations: 4 kB / 1.181 GB, free: 5.531 MB / 0.9044 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000684/0.9759, allocations: 416.7 kB / 1.181 GB, free: 5.117 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.976, allocations: 4 kB / 1.181 GB, free: 5.113 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.976, allocations: 4 kB / 1.181 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.976, allocations: 4 kB / 1.181 GB, free: 5.105 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001788/0.9762, allocations: 47.78 kB / 1.181 GB, free: 5.059 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.9762, allocations: 4 kB / 1.181 GB, free: 5.055 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/0.9775, allocations: 132.5 kB / 1.181 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.9775, allocations: 16 kB / 1.181 GB, free: 4.91 MB / 0.9044 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.0003659/0.9779, allocations: 257.7 kB / 1.182 GB, free: 4.652 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.802e-05/0.978, allocations: 35.53 kB / 1.182 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.9781, allocations: 55.36 kB / 1.182 GB, free: 4.562 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.9781, allocations: 7.938 kB / 1.182 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9781, allocations: 0 / 1.182 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.9781, allocations: 0 / 1.182 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004238/0.9786, allocations: 409.1 kB / 1.182 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.9786, allocations: 3.984 kB / 1.182 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.52e-05/0.9786, allocations: 11.94 kB / 1.182 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.9786, allocations: 4 kB / 1.182 GB, free: 4.086 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.9786, allocations: 4 kB / 1.182 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.9786, allocations: 11.92 kB / 1.182 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9787, allocations: 0 / 1.182 GB, free: 4.07 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.9793, allocations: 0.5159 MB / 1.183 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.9795, allocations: 120.6 kB / 1.183 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.01e-05/0.9795, allocations: 7.984 kB / 1.183 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.9797, allocations: 23.91 kB / 1.183 GB, free: 3.363 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.9798, allocations: 31.97 kB / 1.183 GB, free: 3.332 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.542e-05/0.9799, allocations: 19.98 kB / 1.183 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004963/0.9804, allocations: 431.1 kB / 1.183 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9804, allocations: 0 / 1.183 GB, free: 2.891 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005174/0.9809, allocations: 119.8 kB / 1.183 GB, free: 2.773 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: 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.0002644/0.9812, allocations: 153.3 kB / 1.184 GB, free: 2.617 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006056/0.9818, allocations: 351.6 kB / 1.184 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9818, allocations: 0 / 1.184 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.9821, allocations: 223.8 kB / 1.184 GB, free: 2.055 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.9824, allocations: 34.7 kB / 1.184 GB, free: 2.023 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.9838, allocations: 0.8679 MB / 1.185 GB, free: 1.109 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.9842, allocations: 0.8311 MB / 1.186 GB, free: 256 kB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.9843, allocations: 39.42 kB / 1.186 GB, free: 216 kB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9843, allocations: 4 kB / 1.186 GB, free: 212 kB / 0.9044 GB Notification: Performance of Templates: time 0.01106/0.9954, allocations: 6.999 MB / 1.193 GB, free: 9.352 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches