Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00239/0.00239, allocations: 83.69 kB / 20.23 MB, free: 4.184 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002658/0.002658, allocations: 161.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.651/1.651, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.021/3.021, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.1.|intTimTab.y.2.|intTimTab1.y.1.|intTimTab1.y.2.|tabOneRow.y.1.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.629e-06/4.629e-06, allocations: 0 / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.87e-05/5.333e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.109 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002234/0.002287, allocations: 0.6906 MB / 0.8115 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.004647, allocations: 1.363 MB / 0.8128 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.004709, allocations: 5.625 kB / 0.8128 GB, free: 64 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0009089/0.005618, allocations: 193 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.005764, allocations: 100.9 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008148/0.006579, allocations: 238.1 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007077/0.007287, allocations: 488.7 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.007333, allocations: 4.938 kB / 0.8138 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003749/0.007708, allocations: 255.6 kB / 0.814 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004242/0.008133, allocations: 225.9 kB / 0.8143 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.008244, allocations: 20 kB / 0.8143 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003138/0.008558, allocations: 99.77 kB / 0.8144 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004628/0.009021, allocations: 272 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.009222, allocations: 115.7 kB / 0.8147 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007686/0.009991, allocations: 0.5304 MB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.009995, allocations: 0 / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.773e-06/0.009997, allocations: 0.5 kB / 0.8153 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.01, allocations: 1.594 kB / 0.8153 GB, free: 13.57 MB / 0.7761 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.001302/0.01131, allocations: 0.6743 MB / 0.8159 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.01136, allocations: 12.64 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.01152, allocations: 32.8 kB / 0.816 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006883/0.01221, allocations: 293.3 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.01224, allocations: 12.38 kB / 0.8163 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.01232, allocations: 20.97 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.01266, allocations: 153.1 kB / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.01267, allocations: 0.7812 kB / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.01268, allocations: 1.062 kB / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.01269, allocations: 384 / 0.8164 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.01284, allocations: 68.72 kB / 0.8165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005111/0.01335, allocations: 299.9 kB / 0.8168 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.0138, allocations: 238.1 kB / 0.817 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.01396, allocations: 88.25 kB / 0.8171 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.01397, allocations: 4 kB / 0.8171 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.01444, allocations: 265.7 kB / 0.8174 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.01444, allocations: 2.25 kB / 0.8174 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0009176/0.01536, allocations: 417.3 kB / 0.8178 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.01547, allocations: 106.8 kB / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005399/0.01601, allocations: 422.1 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/0.01608, allocations: 45.69 kB / 0.8183 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.01632, allocations: 215.5 kB / 0.8185 GB, free: 10 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.372e-05/0.01638, allocations: 46.98 kB / 0.8185 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.0166, allocations: 127.2 kB / 0.8187 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003561/0.01695, allocations: 0.5352 MB / 0.8192 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.01707, allocations: 55.97 kB / 0.8192 GB, free: 9.227 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.01845, allocations: 1.08 MB / 0.8203 GB, free: 7.82 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000387/0.01884, allocations: 267.1 kB / 0.8206 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.01884, allocations: 0 / 0.8206 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005464/0.01939, allocations: 299.5 kB / 0.8208 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.01941, allocations: 4 kB / 0.8208 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.01942, allocations: 5.281 kB / 0.8208 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.01944, allocations: 4 kB / 0.8209 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.01967, allocations: 48.84 kB / 0.8209 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/0.01968, allocations: 11.88 kB / 0.8209 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005752/0.02026, allocations: 57.08 kB / 0.821 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.02028, allocations: 12 kB / 0.821 GB, free: 7.062 MB / 0.7761 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.0002169/0.0205, allocations: 196.6 kB / 0.8212 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.02057, allocations: 35.81 kB / 0.8212 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.317e-05/0.02063, allocations: 29.95 kB / 0.8212 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.02064, allocations: 5.031 kB / 0.8212 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.02064, allocations: 0 / 0.8212 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.02065, allocations: 7.922 kB / 0.8212 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.02099, allocations: 241.5 kB / 0.8215 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.021, allocations: 4 kB / 0.8215 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.02101, allocations: 0 / 0.8215 GB, free: 6.512 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.02102, allocations: 8.578 kB / 0.8215 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.02104, allocations: 7.344 kB / 0.8215 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.02104, allocations: 0 / 0.8215 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.02105, allocations: 3.938 kB / 0.8215 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.02168, allocations: 392.9 kB / 0.8219 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.02174, allocations: 27.86 kB / 0.8219 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.02178, allocations: 3.984 kB / 0.8219 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.777e-05/0.02188, allocations: 8 kB / 0.8219 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.02194, allocations: 19.92 kB / 0.8219 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.02197, allocations: 15.98 kB / 0.8219 GB, free: 6.008 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003295/0.0223, allocations: 263.8 kB / 0.8222 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0223, allocations: 0 / 0.8222 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003983/0.0227, allocations: 79.88 kB / 0.8223 GB, free: 5.672 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002896/0.02299, allocations: 145.7 kB / 0.8224 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.02345, allocations: 220.3 kB / 0.8226 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02346, allocations: 0 / 0.8226 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.02365, allocations: 107.6 kB / 0.8227 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.02394, allocations: 36.83 kB / 0.8228 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009448/0.02489, allocations: 0.4928 MB / 0.8232 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001929/0.02508, allocations: 151.7 kB / 0.8234 GB, free: 4.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001119/0.02519, allocations: 37.94 kB / 0.8234 GB, free: 4.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.02527, allocations: 32.48 kB / 0.8234 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of SimCode: time 4.3e-07/0.02527, allocations: 0 / 0.8234 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of Templates: time 0.01194/0.03721, allocations: 5.422 MB / 0.8287 GB, free: 15.09 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.504731575027108]