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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001363/0.001363, allocations: 110.8 kB / 16.42 MB, free: 6.449 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.001454/0.001454, allocations: 187.9 kB / 17.35 MB, free: 5.699 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.872/2.872, allocations: 472.7 MB / 0.746 GB, free: 392 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 59.91 kB / 1.07 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002657/1.028, allocations: 0.6766 MB / 1.227 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002633/1.031, allocations: 1.346 MB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/1.031, allocations: 0 / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0006073/1.032, allocations: 187.5 kB / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/1.032, allocations: 103.7 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000991/1.033, allocations: 238.6 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007427/1.034, allocations: 499.6 kB / 1.229 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/1.034, allocations: 8 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004375/1.034, allocations: 207.7 kB / 1.23 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/1.035, allocations: 203.6 kB / 1.23 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001906/1.035, allocations: 20 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000327/1.035, allocations: 87.89 kB / 1.23 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004298/1.036, allocations: 260.6 kB / 1.23 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003199/1.036, allocations: 147.3 kB / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0007184/1.037, allocations: 475.1 kB / 1.231 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.037, allocations: 0 / 1.231 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.974e-06/1.037, allocations: 0 / 1.231 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.768e-05/1.037, allocations: 0 / 1.231 GB, free: 9.105 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001406/1.038, allocations: 0.6576 MB / 1.231 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/1.038, allocations: 12.03 kB / 1.231 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/1.038, allocations: 28.8 kB / 1.231 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/1.039, allocations: 380.3 kB / 1.232 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/1.039, allocations: 16.36 kB / 1.232 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.176e-05/1.039, allocations: 28.31 kB / 1.232 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/1.039, allocations: 192.6 kB / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.039, allocations: 192 / 1.232 GB, free: 7.695 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/1.04, allocations: 7.922 kB / 1.232 GB, free: 7.688 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/1.04, allocations: 4 kB / 1.232 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/1.04, allocations: 111.9 kB / 1.232 GB, free: 7.574 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/1.04, allocations: 383.1 kB / 1.232 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/1.041, allocations: 319.6 kB / 1.233 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001843/1.041, allocations: 122.6 kB / 1.233 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/1.041, allocations: 3.984 kB / 1.233 GB, free: 6.672 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/1.041, allocations: 287.4 kB / 1.233 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 2.515e-06/1.041, allocations: 0 / 1.233 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0008924/1.042, allocations: 0.5011 MB / 1.234 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.042, allocations: 110.8 kB / 1.234 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005002/1.043, allocations: 400.4 kB / 1.234 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 7.637e-05/1.043, allocations: 37.7 kB / 1.234 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/1.043, allocations: 168.7 kB / 1.234 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.767e-05/1.043, allocations: 35.69 kB / 1.234 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/1.044, allocations: 121.5 kB / 1.234 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.044, allocations: 346.8 kB / 1.235 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/1.044, allocations: 79.95 kB / 1.235 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005447/1.044, allocations: 467 kB / 1.235 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/1.045, allocations: 257.5 kB / 1.236 GB, free: 3.648 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.045, allocations: 4 kB / 1.236 GB, free: 3.645 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005615/1.045, allocations: 329.1 kB / 1.236 GB, free: 3.316 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/1.045, allocations: 4 kB / 1.236 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.045, allocations: 7.938 kB / 1.236 GB, free: 3.305 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.882e-05/1.045, allocations: 8 kB / 1.236 GB, free: 3.297 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/1.046, allocations: 31.92 kB / 1.236 GB, free: 3.266 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/1.046, allocations: 4 kB / 1.236 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/1.046, allocations: 76.19 kB / 1.236 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/1.046, allocations: 12 kB / 1.236 GB, free: 3.176 MB / 0.9512 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.0002648/1.047, allocations: 196.5 kB / 1.236 GB, free: 2.977 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.645e-05/1.047, allocations: 27.81 kB / 1.236 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/1.047, allocations: 37.83 kB / 1.236 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.047, allocations: 0 / 1.236 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/1.047, allocations: 8 kB / 1.236 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/1.047, allocations: 101 kB / 1.236 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/1.047, allocations: 8 kB / 1.236 GB, free: 2.781 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.251e-05/1.047, allocations: 8.172 kB / 1.236 GB, free: 2.773 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/1.047, allocations: 15.98 kB / 1.236 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006866/1.048, allocations: 0.6093 MB / 1.237 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006785/1.049, allocations: 0.7041 MB / 1.238 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001827/1.049, allocations: 139.9 kB / 1.238 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003555/1.049, allocations: 295 kB / 1.238 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of Backend: time 7.61e-07/1.049, allocations: 0 / 1.238 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.05, allocations: 250.4 kB / 1.238 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001157/1.051, allocations: 0.889 MB / 1.239 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.01094/1.062, allocations: 5.049 MB / 1.244 GB, free: 10.8 MB / 0.9669 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