Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001504/0.001504, allocations: 109.1 kB / 16.42 MB, free: 6.508 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.001619/0.001619, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.537/1.537, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.74/2.74, allocations: 437 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 67.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002014/1.175, allocations: 0.6783 MB / 1.168 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002042/1.177, allocations: 1.353 MB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/1.177, allocations: 0 / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0005161/1.178, allocations: 195.5 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/1.178, allocations: 99.72 kB / 1.17 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008055/1.179, allocations: 238.1 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0005787/1.179, allocations: 491.7 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.85e-05/1.179, allocations: 4 kB / 1.17 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/1.18, allocations: 203.7 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000379/1.18, allocations: 215.5 kB / 1.171 GB, free: 408 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000106/1.18, allocations: 24 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/1.18, allocations: 79.94 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/1.181, allocations: 247.5 kB / 1.171 GB, free: 56 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0003056/1.181, allocations: 159.2 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006207/1.182, allocations: 475 kB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.182, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.603e-06/1.182, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.26e-05/1.182, allocations: 0 / 1.172 GB, free: 15.44 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001185/1.183, allocations: 0.6538 MB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/1.183, allocations: 16.91 kB / 1.172 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/1.183, allocations: 28.8 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/1.184, allocations: 384.3 kB / 1.173 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/1.184, allocations: 12.38 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/1.184, allocations: 24.36 kB / 1.173 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/1.184, allocations: 200.6 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.184, allocations: 192 / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.075e-05/1.184, allocations: 7.938 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.184, allocations: 0 / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/1.184, allocations: 111.9 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/1.185, allocations: 383.1 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/1.185, allocations: 315.6 kB / 1.174 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001672/1.185, allocations: 126.6 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/1.185, allocations: 0 / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000453/1.186, allocations: 288.1 kB / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/1.186, allocations: 0 / 1.174 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.0008159/1.187, allocations: 0.4895 MB / 1.175 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/1.187, allocations: 114.8 kB / 1.175 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004686/1.187, allocations: 400.5 kB / 1.175 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.631e-05/1.187, allocations: 45.69 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/1.188, allocations: 144.8 kB / 1.175 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/1.188, allocations: 43.73 kB / 1.175 GB, free: 11.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/1.188, allocations: 117.6 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.188, allocations: 342.8 kB / 1.176 GB, free: 10.97 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/1.188, allocations: 87.89 kB / 1.176 GB, free: 10.89 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/1.189, allocations: 473.1 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003261/1.189, allocations: 249.5 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.189, allocations: 3.938 kB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005432/1.19, allocations: 333.2 kB / 1.177 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.19, allocations: 4 kB / 1.177 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.19, allocations: 11.94 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/1.19, allocations: 7.984 kB / 1.177 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.19, allocations: 35.86 kB / 1.177 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.19, allocations: 5.031 kB / 1.177 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/1.191, allocations: 76.03 kB / 1.177 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/1.191, allocations: 12 kB / 1.177 GB, free: 9.523 MB / 0.9044 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.0002033/1.191, allocations: 195.9 kB / 1.177 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/1.191, allocations: 27.81 kB / 1.177 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.519e-05/1.191, allocations: 41.83 kB / 1.177 GB, free: 9.258 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/1.191, allocations: 3.984 kB / 1.177 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.191, allocations: 0 / 1.177 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/1.191, allocations: 101 kB / 1.177 GB, free: 9.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/1.191, allocations: 4 kB / 1.177 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/1.191, allocations: 7.984 kB / 1.177 GB, free: 9.125 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.997e-05/1.191, allocations: 15.98 kB / 1.177 GB, free: 9.109 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006346/1.192, allocations: 0.6047 MB / 1.178 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006851/1.193, allocations: 0.7001 MB / 1.179 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001799/1.193, allocations: 139.9 kB / 1.179 GB, free: 7.641 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003171/1.193, allocations: 287 kB / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of Backend: time 4.91e-07/1.193, allocations: 0 / 1.179 GB, free: 7.359 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000862/1.194, allocations: 262 kB / 1.179 GB, free: 7.094 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0009339/1.195, allocations: 0.8917 MB / 1.18 GB, free: 6.152 MB / 0.9044 GB Notification: Performance of Templates: time 0.01012/1.205, allocations: 5.053 MB / 1.185 GB, free: 1.148 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches