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.001328/0.001328, allocations: 110.4 kB / 16.41 MB, free: 6.5 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.001286/0.001286, allocations: 190.5 kB / 17.35 MB, free: 5.766 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.605/1.605, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.811/2.811, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00236/0.00236, allocations: 63.91 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461/1.463, allocations: 157.4 MB / 1.208 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00227/1.466, allocations: 0.6817 MB / 1.209 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00215/1.468, allocations: 1.357 MB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/1.468, allocations: 4 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005446/1.469, allocations: 183.5 kB / 1.211 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/1.469, allocations: 103.7 kB / 1.211 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/1.47, allocations: 226.8 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0006554/1.47, allocations: 0.4918 MB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.028e-05/1.47, allocations: 11.98 kB / 1.211 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/1.471, allocations: 207.6 kB / 1.212 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004281/1.471, allocations: 199.6 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/1.471, allocations: 20 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002823/1.472, allocations: 87.92 kB / 1.212 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004201/1.472, allocations: 251.5 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002784/1.472, allocations: 151.3 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006305/1.473, allocations: 476.5 kB / 1.213 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.473, allocations: 0 / 1.213 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.944e-06/1.473, allocations: 3.938 kB / 1.213 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.342e-05/1.473, allocations: 0 / 1.213 GB, free: 9.375 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.001192/1.474, allocations: 0.6385 MB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.474, allocations: 8.031 kB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/1.475, allocations: 32.66 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/1.475, allocations: 388 kB / 1.214 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.92e-05/1.475, allocations: 16.38 kB / 1.214 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.251e-05/1.475, allocations: 20.38 kB / 1.214 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/1.476, allocations: 184.7 kB / 1.214 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.476, allocations: 4.125 kB / 1.214 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/1.476, allocations: 7.922 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/1.476, allocations: 0 / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/1.476, allocations: 107.9 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/1.476, allocations: 387.1 kB / 1.214 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004539/1.477, allocations: 315.6 kB / 1.215 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001887/1.477, allocations: 134.5 kB / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/1.477, allocations: 0 / 1.215 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000455/1.477, allocations: 289.5 kB / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 1.803e-06/1.477, allocations: 0 / 1.215 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0008661/1.478, allocations: 0.4931 MB / 1.216 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.426e-05/1.478, allocations: 114.8 kB / 1.216 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/1.479, allocations: 392.5 kB / 1.216 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.807e-05/1.479, allocations: 37.7 kB / 1.216 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.479, allocations: 156.8 kB / 1.216 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.295e-05/1.479, allocations: 39.5 kB / 1.216 GB, free: 5.387 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/1.479, allocations: 117.6 kB / 1.216 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.48, allocations: 346.8 kB / 1.217 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/1.48, allocations: 83.95 kB / 1.217 GB, free: 4.836 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005358/1.48, allocations: 472.2 kB / 1.217 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/1.481, allocations: 257.6 kB / 1.218 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/1.481, allocations: 4 kB / 1.218 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005324/1.481, allocations: 329.2 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/1.481, allocations: 4 kB / 1.218 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.481, allocations: 7.938 kB / 1.218 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/1.481, allocations: 8 kB / 1.218 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/1.481, allocations: 31.92 kB / 1.218 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/1.481, allocations: 11.92 kB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007345/1.482, allocations: 64.53 kB / 1.218 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/1.482, allocations: 16.12 kB / 1.218 GB, free: 3.477 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.0003403/1.483, allocations: 192 kB / 1.218 GB, free: 3.281 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/1.483, allocations: 23.72 kB / 1.218 GB, free: 3.258 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.171e-05/1.483, allocations: 37.83 kB / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/1.483, allocations: 0 / 1.218 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.483, allocations: 4 kB / 1.218 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.461e-05/1.483, allocations: 100.8 kB / 1.218 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/1.483, allocations: 8 kB / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.9e-05/1.483, allocations: 4 kB / 1.218 GB, free: 3.09 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.033e-05/1.483, allocations: 19.97 kB / 1.218 GB, free: 3.07 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000796/1.484, allocations: 0.6085 MB / 1.219 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007359/1.485, allocations: 0.7098 MB / 1.22 GB, free: 1.727 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001825/1.485, allocations: 136 kB / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003252/1.485, allocations: 295 kB / 1.22 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of Backend: time 5.41e-07/1.485, allocations: 0 / 1.22 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009391/1.486, allocations: 254.8 kB / 1.22 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of SimCode: time 0.001088/1.487, allocations: 0.882 MB / 1.221 GB, free: 128 kB / 0.9356 GB Notification: Performance of Templates: time 0.03453/1.522, allocations: 5.175 MB / 1.226 GB, free: 11 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/jenkins1/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