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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 225.6 MB / 249.4 MB, free: 3.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.975/2.975, allocations: 496.1 MB / 0.7819 GB, free: 12.33 MB / 0.6231 GB " [Timeout remaining time 176] 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=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: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.12 kB / 1.136 GB, free: 12.48 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.178, allocations: 173.7 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001881/1.18, allocations: 0.6858 MB / 1.306 GB, free: 32.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001572/1.181, allocations: 1.351 MB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.51e-05/1.181, allocations: 6.781 kB / 1.307 GB, free: 32.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004471/1.182, allocations: 183.7 kB / 1.308 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/1.182, allocations: 107.4 kB / 1.308 GB, free: 31.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006565/1.182, allocations: 226.5 kB / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000483/1.183, allocations: 0.4902 MB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.902e-05/1.183, allocations: 2.781 kB / 1.308 GB, free: 31.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/1.183, allocations: 202.6 kB / 1.309 GB, free: 31.62 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/1.183, allocations: 229.3 kB / 1.309 GB, free: 31.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/1.184, allocations: 22.5 kB / 1.309 GB, free: 31.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001866/1.184, allocations: 90.27 kB / 1.309 GB, free: 31.55 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002909/1.184, allocations: 273 kB / 1.309 GB, free: 31.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001541/1.184, allocations: 151.8 kB / 1.309 GB, free: 31.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004059/1.185, allocations: 482.8 kB / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/1.185, allocations: 0 / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.613e-06/1.185, allocations: 0 / 1.31 GB, free: 31.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.446e-06/1.185, allocations: 2.875 kB / 1.31 GB, free: 31.25 MB / 1.061 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.0008638/1.185, allocations: 0.6546 MB / 1.31 GB, free: 30.73 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/1.185, allocations: 16.67 kB / 1.31 GB, free: 30.72 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/1.186, allocations: 34.02 kB / 1.31 GB, free: 30.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/1.186, allocations: 393.7 kB / 1.311 GB, free: 30.43 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/1.186, allocations: 13.06 kB / 1.311 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-05/1.186, allocations: 18.75 kB / 1.311 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/1.186, allocations: 186 kB / 1.311 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/1.186, allocations: 192 / 1.311 GB, free: 30.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.063e-05/1.186, allocations: 7.938 kB / 1.311 GB, free: 30.33 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.186, allocations: 6.875 kB / 1.311 GB, free: 30.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/1.187, allocations: 106.6 kB / 1.311 GB, free: 30.3 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/1.187, allocations: 387.3 kB / 1.312 GB, free: 30.03 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003998/1.187, allocations: 313.5 kB / 1.312 GB, free: 29.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/1.188, allocations: 129 kB / 1.312 GB, free: 29.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/1.188, allocations: 3.938 kB / 1.312 GB, free: 29.84 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004207/1.188, allocations: 279.6 kB / 1.312 GB, free: 29.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/1.188, allocations: 3.938 kB / 1.312 GB, free: 29.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.0007348/1.189, allocations: 0.4985 MB / 1.313 GB, free: 29.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/1.189, allocations: 116.5 kB / 1.313 GB, free: 29.44 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/1.189, allocations: 395.1 kB / 1.313 GB, free: 29.26 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/1.189, allocations: 41.86 kB / 1.313 GB, free: 29.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/1.189, allocations: 159 kB / 1.313 GB, free: 29.09 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/1.189, allocations: 32.52 kB / 1.313 GB, free: 29.06 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/1.189, allocations: 118.1 kB / 1.314 GB, free: 29.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.14e-05/1.189, allocations: 344.6 kB / 1.314 GB, free: 28.7 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/1.19, allocations: 88.69 kB / 1.314 GB, free: 28.68 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/1.19, allocations: 463.6 kB / 1.314 GB, free: 28.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/1.19, allocations: 259.7 kB / 1.315 GB, free: 28.1 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.19, allocations: 2.188 kB / 1.315 GB, free: 28.1 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004439/1.191, allocations: 330.8 kB / 1.315 GB, free: 27.98 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/1.191, allocations: 11.31 kB / 1.315 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.191, allocations: 2.594 kB / 1.315 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.191, allocations: 4.656 kB / 1.315 GB, free: 27.97 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/1.191, allocations: 32.45 kB / 1.315 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/1.191, allocations: 12.59 kB / 1.315 GB, free: 27.96 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006751/1.192, allocations: 72.41 kB / 1.315 GB, free: 27.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/1.192, allocations: 15.88 kB / 1.315 GB, free: 27.93 MB / 1.061 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.0001634/1.192, allocations: 191.6 kB / 1.315 GB, free: 27.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.354e-05/1.192, allocations: 34.25 kB / 1.315 GB, free: 27.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/1.192, allocations: 36.5 kB / 1.315 GB, free: 27.76 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.192, allocations: 6.562 kB / 1.315 GB, free: 27.75 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/1.192, allocations: 2.625 kB / 1.315 GB, free: 27.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.192, allocations: 4 kB / 1.315 GB, free: 27.75 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/1.192, allocations: 286.5 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/1.192, allocations: 2.625 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/1.192, allocations: 3.094 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.192, allocations: 6.562 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/1.192, allocations: 6 kB / 1.316 GB, free: 27.52 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.192, allocations: 6.562 kB / 1.316 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.192, allocations: 0 / 1.316 GB, free: 27.51 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004543/1.193, allocations: 431.9 kB / 1.316 GB, free: 27.33 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/1.193, allocations: 110.8 kB / 1.316 GB, free: 27.22 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/1.193, allocations: 3.938 kB / 1.316 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/1.193, allocations: 2.625 kB / 1.316 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/1.193, allocations: 22.58 kB / 1.316 GB, free: 27.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.193, allocations: 10.5 kB / 1.316 GB, free: 27.21 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002542/1.193, allocations: 289.4 kB / 1.317 GB, free: 27.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.193, allocations: 3.938 kB / 1.317 GB, free: 27.08 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003827/1.193, allocations: 78.94 kB / 1.317 GB, free: 27.06 MB / 1.061 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.0002478/1.194, allocations: 137.7 kB / 1.317 GB, free: 26.96 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003879/1.194, allocations: 251.8 kB / 1.317 GB, free: 26.9 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/1.194, allocations: 0 / 1.317 GB, free: 26.9 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/1.194, allocations: 125.2 kB / 1.317 GB, free: 26.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/1.195, allocations: 20.44 kB / 1.317 GB, free: 26.86 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/1.195, allocations: 0.5741 MB / 1.318 GB, free: 26.57 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/1.196, allocations: 0.7704 MB / 1.318 GB, free: 25.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001052/1.196, allocations: 53.02 kB / 1.318 GB, free: 25.85 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/1.196, allocations: 30.44 kB / 1.318 GB, free: 25.84 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/1.196, allocations: 3.938 kB / 1.319 GB, free: 25.84 MB / 1.061 GB Notification: Performance of Templates: time 0.01011/1.206, allocations: 5.073 MB / 1.323 GB, free: 25.43 MB / 1.061 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] 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/jenkins/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: 10.213067353703082]