Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001711/0.001711, allocations: 84.44 kB / 19.76 MB, free: 2.023 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.002017/0.002017, allocations: 154.9 kB / 23.01 MB, free: 4.961 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.496/1.496, allocations: 177.2 MB / 203.4 MB, free: 8.98 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.949/2.949, allocations: 394.2 MB / 0.6387 GB, free: 11.93 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.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timTabLin.y.1.|timTabLinCon.y.1.|timTabCon.y.1.|timTabLinHol.y.1.|timTabLinDer.y.1.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.002128/0.002128, allocations: 71.89 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005/1.008, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable): time 0.003656/1.011, allocations: 2.383 MB / 1.189 GB, free: 14.58 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002774/1.014, allocations: 1.651 MB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001922/1.014, allocations: 12.12 kB / 1.191 GB, free: 13.48 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006171/1.015, allocations: 329.9 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0007379/1.016, allocations: 416.9 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005102/1.016, allocations: 293.4 kB / 1.192 GB, free: 13.03 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0007405/1.017, allocations: 0.7752 MB / 1.192 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/1.017, allocations: 46.19 kB / 1.192 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/1.017, allocations: 329.5 kB / 1.193 GB, free: 12.49 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/1.018, allocations: 360.2 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/1.018, allocations: 33.62 kB / 1.193 GB, free: 12.37 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/1.018, allocations: 90.67 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002184/1.018, allocations: 209 kB / 1.193 GB, free: 12.26 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/1.019, allocations: 209.4 kB / 1.194 GB, free: 12.12 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0008713/1.019, allocations: 0.7959 MB / 1.194 GB, free: 11.81 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.019, allocations: 5.062 kB / 1.194 GB, free: 11.81 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.914e-06/1.019, allocations: 0 / 1.194 GB, free: 11.81 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.099e-05/1.019, allocations: 0 / 1.194 GB, free: 11.81 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001446/1.021, allocations: 0.9926 MB / 1.195 GB, free: 11.08 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.021, allocations: 8.75 kB / 1.195 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/1.021, allocations: 79.92 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/1.022, allocations: 0.5799 MB / 1.196 GB, free: 10.69 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/1.022, allocations: 11.91 kB / 1.196 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/1.022, allocations: 20.94 kB / 1.196 GB, free: 10.67 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004305/1.022, allocations: 207.7 kB / 1.196 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.022, allocations: 1.25 kB / 1.196 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/1.022, allocations: 10.45 kB / 1.196 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/1.022, allocations: 3.406 kB / 1.196 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002773/1.023, allocations: 111.2 kB / 1.196 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/1.024, allocations: 0.968 MB / 1.197 GB, free: 9.816 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/1.025, allocations: 283.1 kB / 1.198 GB, free: 9.629 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002188/1.025, allocations: 103.1 kB / 1.198 GB, free: 9.566 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/1.025, allocations: 3.484 kB / 1.198 GB, free: 9.566 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000434/1.025, allocations: 233.2 kB / 1.198 GB, free: 9.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/1.025, allocations: 0 / 1.198 GB, free: 9.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=25): time 0.001027/1.026, allocations: 455.9 kB / 1.198 GB, free: 9.246 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/1.026, allocations: 167.4 kB / 1.198 GB, free: 9.051 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/1.028, allocations: 1.083 MB / 1.2 GB, free: 8.652 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/1.028, allocations: 38.53 kB / 1.2 GB, free: 8.613 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/1.028, allocations: 303.3 kB / 1.2 GB, free: 8.375 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-05/1.028, allocations: 83.47 kB / 1.2 GB, free: 8.312 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/1.028, allocations: 116.5 kB / 1.2 GB, free: 8.254 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.289e-05/1.028, allocations: 324.3 kB / 1.2 GB, free: 7.941 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/1.029, allocations: 168.8 kB / 1.2 GB, free: 7.891 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/1.029, allocations: 268.7 kB / 1.201 GB, free: 7.734 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/1.03, allocations: 380.1 kB / 1.201 GB, free: 7.512 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.03, allocations: 0.9375 kB / 1.201 GB, free: 7.512 MB / 1.076 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000982/1.031, allocations: 0.577 MB / 1.202 GB, free: 7.277 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.031, allocations: 7.641 kB / 1.202 GB, free: 7.277 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/1.031, allocations: 7.656 kB / 1.202 GB, free: 7.273 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.031, allocations: 5.359 kB / 1.202 GB, free: 7.273 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003703/1.031, allocations: 103.1 kB / 1.202 GB, free: 7.258 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/1.031, allocations: 5.438 kB / 1.202 GB, free: 7.258 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/1.031, allocations: 42.36 kB / 1.202 GB, free: 7.234 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/1.031, allocations: 27.12 kB / 1.202 GB, free: 7.227 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.timTabLin.tab.nextTimeEvent,$whenCondition5,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition4,timTabLinHol.tab.nextTimeEventScaled,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition3,timTabLinDer.tab.nextTimeEventScaled,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLinCon.tab.nextTimeEvent,$whenCondition1,timTabLinCon.tab.nextTimeEventScaled,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002802/1.032, allocations: 279 kB / 1.202 GB, free: 7.047 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/1.032, allocations: 83.83 kB / 1.202 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008047/1.033, allocations: 419 kB / 1.203 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.033, allocations: 4.562 kB / 1.203 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.033, allocations: 2.203 kB / 1.203 GB, free: 6.82 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/1.033, allocations: 6.516 kB / 1.203 GB, free: 6.816 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/1.033, allocations: 387.8 kB / 1.203 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.033, allocations: 1.469 kB / 1.203 GB, free: 6.594 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/1.033, allocations: 29.92 kB / 1.203 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/1.033, allocations: 2.062 kB / 1.203 GB, free: 6.59 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/1.033, allocations: 16.41 kB / 1.203 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/1.033, allocations: 6.406 kB / 1.203 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/1.033, allocations: 1.953 kB / 1.203 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007015/1.034, allocations: 442 kB / 1.203 GB, free: 6.348 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/1.034, allocations: 88.89 kB / 1.204 GB, free: 6.297 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.355e-05/1.034, allocations: 14.95 kB / 1.204 GB, free: 6.289 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/1.034, allocations: 18.17 kB / 1.204 GB, free: 6.285 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/1.034, allocations: 28.42 kB / 1.204 GB, free: 6.277 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/1.034, allocations: 13.69 kB / 1.204 GB, free: 6.277 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009343/1.035, allocations: 0.6858 MB / 1.204 GB, free: 6.023 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/1.035, allocations: 0 / 1.204 GB, free: 6.023 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005332/1.036, allocations: 112.9 kB / 1.204 GB, free: 6.004 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001902/1.038, allocations: 0.5146 MB / 1.205 GB, free: 5.77 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0007448/1.039, allocations: 349.5 kB / 1.205 GB, free: 5.664 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.039, allocations: 0 / 1.205 GB, free: 5.664 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002576/1.039, allocations: 114.9 kB / 1.205 GB, free: 5.629 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/1.04, allocations: 235.1 kB / 1.206 GB, free: 5.555 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.041, allocations: 1.163 MB / 1.207 GB, free: 4.941 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/1.042, allocations: 341 kB / 1.207 GB, free: 4.828 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0003122/1.042, allocations: 125.5 kB / 1.207 GB, free: 4.801 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/1.042, allocations: 68.83 kB / 1.207 GB, free: 4.785 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/1.042, allocations: 0 / 1.207 GB, free: 4.785 MB / 1.076 GB Notification: Performance of Templates: time 0.01887/1.061, allocations: 8.712 MB / 1.216 GB, free: 3.66 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.54498790402431]