Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001297/0.001297, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.001396/0.001396, allocations: 157.5 kB / 23.01 MB, free: 4.945 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.958/2.958, allocations: 394.2 MB / 0.6387 GB, free: 11.94 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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.002389/0.002389, allocations: 63.91 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.026/1.029, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002076/1.031, allocations: 0.8422 MB / 1.187 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.00191/1.033, allocations: 1.458 MB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/1.033, allocations: 6.125 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/1.033, allocations: 189 kB / 1.189 GB, free: 14.6 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001676/1.033, allocations: 119.8 kB / 1.189 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/1.034, allocations: 367.2 kB / 1.19 GB, free: 14.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001092/1.035, allocations: 0.8708 MB / 1.19 GB, free: 14.03 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001909/1.036, allocations: 64.88 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004131/1.036, allocations: 353.6 kB / 1.191 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/1.037, allocations: 282.4 kB / 1.191 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000163/1.037, allocations: 45.06 kB / 1.191 GB, free: 13.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003737/1.037, allocations: 124 kB / 1.191 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/1.038, allocations: 364.2 kB / 1.192 GB, free: 13.66 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003438/1.038, allocations: 235.5 kB / 1.192 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/1.039, allocations: 0.9149 MB / 1.193 GB, free: 13.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/1.039, allocations: 0.7031 kB / 1.193 GB, free: 13.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.104e-06/1.039, allocations: 0 / 1.193 GB, free: 13.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.121e-05/1.039, allocations: 0 / 1.193 GB, free: 13.25 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001678/1.041, allocations: 0.8339 MB / 1.193 GB, free: 12.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/1.041, allocations: 9.469 kB / 1.193 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/1.041, allocations: 55.62 kB / 1.194 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/1.042, allocations: 499 kB / 1.194 GB, free: 12.42 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.417e-05/1.042, allocations: 20.78 kB / 1.194 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/1.042, allocations: 38.02 kB / 1.194 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/1.043, allocations: 312 kB / 1.194 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.043, allocations: 1.094 kB / 1.194 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/1.043, allocations: 10.73 kB / 1.194 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/1.043, allocations: 2.906 kB / 1.194 GB, free: 12.26 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003536/1.043, allocations: 225.2 kB / 1.195 GB, free: 12.19 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/1.045, allocations: 1.002 MB / 1.196 GB, free: 11.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006352/1.046, allocations: 461.5 kB / 1.196 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/1.046, allocations: 178.5 kB / 1.196 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/1.046, allocations: 2.656 kB / 1.196 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/1.046, allocations: 335.6 kB / 1.197 GB, free: 11.19 MB / 1.076 GB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/1.046, allocations: 0 / 1.197 GB, free: 11.19 MB / 1.076 GB Notification: Performance of matching and sorting (n=24): time 0.001117/1.048, allocations: 0.6279 MB / 1.197 GB, free: 10.96 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/1.048, allocations: 115.7 kB / 1.197 GB, free: 10.84 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008126/1.048, allocations: 0.5968 MB / 1.198 GB, free: 10.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.798e-05/1.048, allocations: 44.84 kB / 1.198 GB, free: 10.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/1.049, allocations: 216.5 kB / 1.198 GB, free: 10.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/1.049, allocations: 57.06 kB / 1.198 GB, free: 10.34 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.049, allocations: 184.2 kB / 1.198 GB, free: 10.29 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.049, allocations: 356.3 kB / 1.199 GB, free: 9.957 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.049, allocations: 125.8 kB / 1.199 GB, free: 9.922 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/1.05, allocations: 1.787 MB / 1.2 GB, free: 8.047 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/1.051, allocations: 300.9 kB / 1.201 GB, free: 7.844 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/1.051, allocations: 1 kB / 1.201 GB, free: 7.844 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006907/1.051, allocations: 415.8 kB / 1.201 GB, free: 7.684 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.051, allocations: 10.28 kB / 1.201 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.051, allocations: 4.188 kB / 1.201 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.051, allocations: 9.141 kB / 1.201 GB, free: 7.676 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/1.052, allocations: 35.19 kB / 1.201 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/1.052, allocations: 15.05 kB / 1.201 GB, free: 7.66 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/1.053, allocations: 130 kB / 1.201 GB, free: 7.625 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/1.053, allocations: 15.25 kB / 1.201 GB, free: 7.621 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0003447/1.053, allocations: 257.5 kB / 1.202 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.697e-05/1.053, allocations: 43.53 kB / 1.202 GB, free: 7.438 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.643e-05/1.054, allocations: 51.62 kB / 1.202 GB, free: 7.414 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.054, allocations: 2.906 kB / 1.202 GB, free: 7.414 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.054, allocations: 6.359 kB / 1.202 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/1.054, allocations: 2.422 kB / 1.202 GB, free: 7.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/1.054, allocations: 294 kB / 1.202 GB, free: 7.223 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/1.054, allocations: 5.125 kB / 1.202 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/1.054, allocations: 10.3 kB / 1.202 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.054, allocations: 1.281 kB / 1.202 GB, free: 7.215 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/1.054, allocations: 10.78 kB / 1.202 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.054, allocations: 1.469 kB / 1.202 GB, free: 7.211 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/1.054, allocations: 5.781 kB / 1.202 GB, free: 7.207 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006944/1.055, allocations: 0.5118 MB / 1.203 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.8e-05/1.055, allocations: 50.28 kB / 1.203 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/1.055, allocations: 3.641 kB / 1.203 GB, free: 6.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001719/1.055, allocations: 18.03 kB / 1.203 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/1.055, allocations: 43.48 kB / 1.203 GB, free: 6.93 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/1.055, allocations: 12.77 kB / 1.203 GB, free: 6.93 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005324/1.056, allocations: 432.8 kB / 1.203 GB, free: 6.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.056, allocations: 0 / 1.203 GB, free: 6.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006177/1.056, allocations: 117.6 kB / 1.203 GB, free: 6.727 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: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002619/1.057, allocations: 146 kB / 1.203 GB, free: 6.621 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006458/1.057, allocations: 350.6 kB / 1.204 GB, free: 6.523 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.057, allocations: 0 / 1.204 GB, free: 6.523 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002559/1.057, allocations: 167.1 kB / 1.204 GB, free: 6.473 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/1.058, allocations: 45 kB / 1.204 GB, free: 6.449 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/1.059, allocations: 0.8361 MB / 1.205 GB, free: 6.023 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/1.059, allocations: 233.7 kB / 1.205 GB, free: 5.918 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002623/1.06, allocations: 95.62 kB / 1.205 GB, free: 5.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/1.06, allocations: 40.05 kB / 1.205 GB, free: 5.898 MB / 1.076 GB Notification: Performance of SimCode: time 6.22e-07/1.06, allocations: 0 / 1.205 GB, free: 5.898 MB / 1.076 GB Notification: Performance of Templates: time 0.0174/1.077, allocations: 8.655 MB / 1.213 GB, free: 4.918 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.414932127925567]