Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001418/0.001418, allocations: 115.3 kB / 16.81 MB, free: 5.766 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.001325/0.001325, allocations: 199.2 kB / 17.77 MB, free: 5.117 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.634/1.634, allocations: 225.6 MB / 244.2 MB, free: 13.89 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.888/2.888, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 64.22 kB / 1.097 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4558/0.4578, allocations: 168.7 MB / 1.262 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002056/0.4598, allocations: 0.6839 MB / 1.263 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.462, allocations: 1.35 MB / 1.264 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.462, allocations: 4 kB / 1.264 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005683/0.4626, allocations: 187.6 kB / 1.264 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.4627, allocations: 103.7 kB / 1.264 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.4635, allocations: 232 kB / 1.265 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006226/0.4642, allocations: 0.4996 MB / 1.265 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.4642, allocations: 4 kB / 1.265 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002709/0.4645, allocations: 203.7 kB / 1.265 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003961/0.4649, allocations: 227.5 kB / 1.265 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.465, allocations: 24 kB / 1.265 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.4652, allocations: 91.94 kB / 1.266 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.4656, allocations: 268.5 kB / 1.266 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002095/0.4659, allocations: 151.3 kB / 1.266 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006137/0.4665, allocations: 482.4 kB / 1.266 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4665, allocations: 3.938 kB / 1.266 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4665, allocations: 0 / 1.266 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.4665, allocations: 0 / 1.266 GB, free: 8.43 MB / 0.9825 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.001171/0.4677, allocations: 0.6461 MB / 1.267 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4677, allocations: 8.031 kB / 1.267 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000137/0.4678, allocations: 32.8 kB / 1.267 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005913/0.4684, allocations: 380.3 kB / 1.267 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.4685, allocations: 12.38 kB / 1.267 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.4685, allocations: 24.36 kB / 1.267 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003586/0.4689, allocations: 184.7 kB / 1.268 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4689, allocations: 8.125 kB / 1.268 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.4689, allocations: 7.938 kB / 1.268 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4689, allocations: 0 / 1.268 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.4691, allocations: 107.9 kB / 1.268 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/0.4696, allocations: 383.1 kB / 1.268 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.4701, allocations: 319.6 kB / 1.268 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.4703, allocations: 126.5 kB / 1.269 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.4703, allocations: 0 / 1.269 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005304/0.4709, allocations: 287.6 kB / 1.269 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.4709, allocations: 0 / 1.269 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.0008883/0.4718, allocations: 0.4935 MB / 1.269 GB, free: 5.227 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.4718, allocations: 114.8 kB / 1.269 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.4723, allocations: 404.4 kB / 1.27 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.155e-05/0.4724, allocations: 41.7 kB / 1.27 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.4726, allocations: 152.8 kB / 1.27 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.561e-05/0.4726, allocations: 43.73 kB / 1.27 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.4728, allocations: 121.5 kB / 1.27 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.473, allocations: 342.8 kB / 1.271 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4731, allocations: 83.94 kB / 1.271 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005628/0.4737, allocations: 467.5 kB / 1.271 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.474, allocations: 265.4 kB / 1.271 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4741, allocations: 0 / 1.271 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000515/0.4746, allocations: 329 kB / 1.272 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.4746, allocations: 8 kB / 1.272 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.4746, allocations: 7.938 kB / 1.272 GB, free: 2.648 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4746, allocations: 4 kB / 1.272 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.4748, allocations: 35.92 kB / 1.272 GB, free: 2.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.4748, allocations: 7.938 kB / 1.272 GB, free: 2.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.4756, allocations: 71.84 kB / 1.272 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.603e-05/0.4756, allocations: 15.98 kB / 1.272 GB, free: 2.52 MB / 0.9825 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.0002539/0.4759, allocations: 196.7 kB / 1.272 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.7e-05/0.4759, allocations: 27.81 kB / 1.272 GB, free: 2.293 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.476, allocations: 37.83 kB / 1.272 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.476, allocations: 4 kB / 1.272 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.476, allocations: 0 / 1.272 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.4761, allocations: 101 kB / 1.272 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.414e-05/0.4762, allocations: 7.984 kB / 1.272 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.4762, allocations: 0 / 1.272 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.604e-05/0.4763, allocations: 23.98 kB / 1.272 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006955/0.477, allocations: 0.6046 MB / 1.273 GB, free: 1.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006978/0.4777, allocations: 0.7041 MB / 1.273 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001737/0.4779, allocations: 116 kB / 1.274 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003311/0.4782, allocations: 287 kB / 1.274 GB, free: 388 kB / 0.9825 GB Notification: Performance of Backend: time 5.11e-07/0.4782, allocations: 0 / 1.274 GB, free: 388 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000943/0.4791, allocations: 267.8 kB / 1.274 GB, free: 112 kB / 0.9825 GB Notification: Performance of SimCode: time 0.001091/0.4802, allocations: 0.8851 MB / 1.275 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.01066/0.4909, allocations: 5.108 MB / 1.28 GB, free: 10.12 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches