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.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.002326/0.002326, allocations: 78.64 kB / 19.76 MB, free: 2.035 MB / 14.72 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.002129/0.002129, allocations: 159.3 kB / 23.01 MB, free: 4.941 MB / 14.72 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.467/1.467, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.919/2.919, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 67.89 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.008, allocations: 181.8 MB / 1.187 GB, free: 16.24 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001756/1.009, allocations: 0.6724 MB / 1.187 GB, free: 15.83 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001656/1.011, allocations: 1.34 MB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/1.011, allocations: 10.34 kB / 1.189 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005143/1.012, allocations: 192.5 kB / 1.189 GB, free: 14.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001313/1.012, allocations: 104 kB / 1.189 GB, free: 14.8 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/1.012, allocations: 236.9 kB / 1.189 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000627/1.013, allocations: 487.8 kB / 1.19 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/1.013, allocations: 4.156 kB / 1.19 GB, free: 14.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/1.013, allocations: 204.1 kB / 1.19 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/1.014, allocations: 231.3 kB / 1.19 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.528e-05/1.014, allocations: 25.41 kB / 1.19 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002806/1.014, allocations: 95.72 kB / 1.19 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004392/1.015, allocations: 275.2 kB / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001836/1.015, allocations: 127.7 kB / 1.19 GB, free: 14.26 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006176/1.015, allocations: 479.9 kB / 1.191 GB, free: 14.12 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/1.015, allocations: 0 / 1.191 GB, free: 14.12 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.284e-06/1.015, allocations: 0.7812 kB / 1.191 GB, free: 14.12 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.213e-06/1.015, allocations: 0 / 1.191 GB, free: 14.12 MB / 1.076 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.0009661/1.016, allocations: 0.5777 MB / 1.192 GB, free: 13.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/1.016, allocations: 13.22 kB / 1.192 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/1.017, allocations: 30.48 kB / 1.192 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005332/1.017, allocations: 329.7 kB / 1.192 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/1.017, allocations: 10.09 kB / 1.192 GB, free: 13.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.182e-05/1.017, allocations: 21.2 kB / 1.192 GB, free: 13.47 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/1.017, allocations: 188 kB / 1.192 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/1.017, allocations: 192 / 1.192 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/1.018, allocations: 5.859 kB / 1.192 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/1.018, allocations: 9.578 kB / 1.192 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/1.018, allocations: 108.3 kB / 1.192 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003733/1.018, allocations: 270.9 kB / 1.192 GB, free: 13.17 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/1.019, allocations: 310.4 kB / 1.193 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/1.019, allocations: 121.9 kB / 1.193 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/1.019, allocations: 6.719 kB / 1.193 GB, free: 12.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005105/1.019, allocations: 287.4 kB / 1.193 GB, free: 12.87 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.583e-06/1.019, allocations: 3.938 kB / 1.193 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.0008901/1.02, allocations: 0.4957 MB / 1.194 GB, free: 12.71 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/1.02, allocations: 114.4 kB / 1.194 GB, free: 12.58 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004842/1.021, allocations: 397.4 kB / 1.194 GB, free: 12.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/1.021, allocations: 36.28 kB / 1.194 GB, free: 12.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/1.021, allocations: 151.7 kB / 1.194 GB, free: 12.24 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/1.021, allocations: 40.86 kB / 1.194 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/1.021, allocations: 114.7 kB / 1.194 GB, free: 12.17 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/1.021, allocations: 352.6 kB / 1.195 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/1.021, allocations: 81.7 kB / 1.195 GB, free: 11.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006237/1.022, allocations: 1.086 MB / 1.196 GB, free: 10.67 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/1.022, allocations: 270.1 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/1.022, allocations: 1.312 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000491/1.023, allocations: 325.1 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/1.023, allocations: 7.812 kB / 1.196 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.023, allocations: 3.25 kB / 1.197 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.023, allocations: 9.156 kB / 1.197 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/1.023, allocations: 34.03 kB / 1.197 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/1.023, allocations: 9.75 kB / 1.197 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007779/1.024, allocations: 69.98 kB / 1.197 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/1.024, allocations: 11.91 kB / 1.197 GB, free: 10.3 MB / 1.076 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.0001922/1.024, allocations: 199.2 kB / 1.197 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/1.024, allocations: 29.67 kB / 1.197 GB, free: 10.14 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/1.024, allocations: 37.17 kB / 1.197 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/1.024, allocations: 2.562 kB / 1.197 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/1.024, allocations: 1.406 kB / 1.197 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.024, allocations: 1.406 kB / 1.197 GB, free: 10.13 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/1.024, allocations: 204.5 kB / 1.197 GB, free: 9.973 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.024, allocations: 5.719 kB / 1.197 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/1.024, allocations: 4.234 kB / 1.197 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.828e-06/1.024, allocations: 2.219 kB / 1.197 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/1.024, allocations: 8.859 kB / 1.197 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.024, allocations: 10.69 kB / 1.197 GB, free: 9.957 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.024, allocations: 4.906 kB / 1.197 GB, free: 9.953 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006035/1.025, allocations: 427.5 kB / 1.198 GB, free: 9.777 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.292e-05/1.025, allocations: 31.08 kB / 1.198 GB, free: 9.758 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/1.025, allocations: 7.312 kB / 1.198 GB, free: 9.754 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.621e-05/1.025, allocations: 6.172 kB / 1.198 GB, free: 9.75 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/1.025, allocations: 16.73 kB / 1.198 GB, free: 9.746 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.524e-05/1.025, allocations: 21.25 kB / 1.198 GB, free: 9.738 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003204/1.026, allocations: 287.2 kB / 1.198 GB, free: 9.613 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/1.026, allocations: 5.031 kB / 1.198 GB, free: 9.609 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004486/1.026, allocations: 77.55 kB / 1.198 GB, free: 9.598 MB / 1.076 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.0002142/1.026, allocations: 135.3 kB / 1.198 GB, free: 9.492 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004883/1.027, allocations: 254.8 kB / 1.198 GB, free: 9.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.027, allocations: 1.062 kB / 1.198 GB, free: 9.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.027, allocations: 118.5 kB / 1.198 GB, free: 9.402 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/1.027, allocations: 27.62 kB / 1.198 GB, free: 9.391 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009107/1.028, allocations: 0.5733 MB / 1.199 GB, free: 9.086 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/1.028, allocations: 153.5 kB / 1.199 GB, free: 9.008 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001353/1.028, allocations: 53.88 kB / 1.199 GB, free: 8.996 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.307e-05/1.029, allocations: 31.69 kB / 1.199 GB, free: 8.984 MB / 1.076 GB Notification: Performance of SimCode: time 5.31e-07/1.029, allocations: 0 / 1.199 GB, free: 8.984 MB / 1.076 GB Notification: Performance of Templates: time 0.0121/1.041, allocations: 5.439 MB / 1.205 GB, free: 8.348 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.26707034604624]