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.001362/0.001362, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001832/0.001832, allocations: 211.8 kB / 23 MB, free: 4.934 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.537/1.537, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.268/3.268, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002091/0.002091, allocations: 63.94 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4267/0.4288, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002512/0.4313, allocations: 0.6701 MB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.4338, allocations: 1.346 MB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.4339, allocations: 7.938 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.4345, allocations: 195.6 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.4348, allocations: 103.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.4358, allocations: 238.7 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006641/0.4364, allocations: 491.7 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.4365, allocations: 0 / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.4368, allocations: 207.7 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004546/0.4373, allocations: 239.5 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001213/0.4374, allocations: 20 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002938/0.4377, allocations: 95.91 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003987/0.4381, allocations: 275.4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001955/0.4383, allocations: 127.5 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007309/0.439, allocations: 482.5 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.439, allocations: 3.938 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.439, allocations: 4 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.021e-05/0.439, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 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.001276/0.4403, allocations: 0.567 MB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4404, allocations: 12.02 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001655/0.4405, allocations: 36.75 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.4412, allocations: 326.5 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.4412, allocations: 12.38 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.4413, allocations: 20.38 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.4416, allocations: 184.7 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4416, allocations: 8.125 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.4417, allocations: 11.92 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.4417, allocations: 0 / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001821/0.4418, allocations: 103.9 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.4423, allocations: 270.9 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.4429, allocations: 311.6 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.4431, allocations: 126.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.4431, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000518/0.4436, allocations: 295.2 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.532e-06/0.4436, allocations: 0 / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.000913/0.4445, allocations: 0.4933 MB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.676e-05/0.4446, allocations: 122.7 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004849/0.4451, allocations: 400.5 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.094e-05/0.4452, allocations: 37.7 kB / 1.335 GB, free: 8.992 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.4453, allocations: 148.8 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.107e-05/0.4454, allocations: 43.78 kB / 1.335 GB, free: 8.797 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001982/0.4456, allocations: 113.6 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.4458, allocations: 350.8 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001445/0.4459, allocations: 79.95 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.447, allocations: 1.085 MB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.4473, allocations: 265.6 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4473, allocations: 0 / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005639/0.4479, allocations: 329.2 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.4479, allocations: 8 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.4479, allocations: 7.984 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.4479, allocations: 7.938 kB / 1.337 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.4481, allocations: 31.92 kB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.4481, allocations: 11.94 kB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/0.449, allocations: 68.84 kB / 1.337 GB, free: 6.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.449, allocations: 16 kB / 1.337 GB, free: 6.102 MB / 1.029 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.0002342/0.4492, allocations: 192.3 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.4493, allocations: 27.81 kB / 1.337 GB, free: 5.879 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.4494, allocations: 33.89 kB / 1.337 GB, free: 5.848 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.4494, allocations: 7.922 kB / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.4494, allocations: 0 / 1.337 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/0.4494, allocations: 31.8 kB / 1.337 GB, free: 5.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.73e-05/0.4495, allocations: 4 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.456e-05/0.4496, allocations: 7.984 kB / 1.337 GB, free: 5.797 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.4496, allocations: 19.92 kB / 1.337 GB, free: 5.777 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007705/0.4504, allocations: 0.6047 MB / 1.338 GB, free: 5.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007894/0.4512, allocations: 0.7135 MB / 1.339 GB, free: 4.434 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001872/0.4514, allocations: 116 kB / 1.339 GB, free: 4.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003736/0.4517, allocations: 295 kB / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of Backend: time 4.21e-07/0.4517, allocations: 0 / 1.339 GB, free: 4.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008897/0.4526, allocations: 254.2 kB / 1.339 GB, free: 3.777 MB / 1.029 GB Notification: Performance of SimCode: time 0.001085/0.4537, allocations: 0.8972 MB / 1.34 GB, free: 2.832 MB / 1.029 GB Notification: Performance of Templates: time 0.01151/0.4652, allocations: 5.744 MB / 1.346 GB, free: 13.18 MB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 9.498787792996154]