Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001345/0.001345, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002153/0.002153, allocations: 221 kB / 23 MB, free: 4.918 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.913/2.913, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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_11_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_11_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.002102/0.002102, allocations: 67.92 kB / 1.118 GB, free: 41.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3475, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002151/0.3497, allocations: 0.8338 MB / 1.285 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.3518, allocations: 1.461 MB / 1.286 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.3519, allocations: 7.938 kB / 1.286 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005659/0.3525, allocations: 195.5 kB / 1.286 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001817/0.3526, allocations: 111.6 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.3538, allocations: 362.3 kB / 1.287 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001036/0.3548, allocations: 0.8699 MB / 1.288 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.355, allocations: 64.48 kB / 1.288 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.3555, allocations: 355.4 kB / 1.288 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005162/0.356, allocations: 279.3 kB / 1.288 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.3562, allocations: 44 kB / 1.288 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003865/0.3566, allocations: 123.8 kB / 1.288 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004769/0.3571, allocations: 359.2 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.3574, allocations: 239 kB / 1.289 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.3583, allocations: 0.9151 MB / 1.29 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3583, allocations: 4 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3584, allocations: 0 / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.3584, allocations: 0 / 1.29 GB, free: 5.773 MB / 0.9825 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.001737/0.3601, allocations: 0.8319 MB / 1.291 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3601, allocations: 8.031 kB / 1.291 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.3604, allocations: 56.66 kB / 1.291 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.3614, allocations: 0.4887 MB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.3614, allocations: 28.61 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3615, allocations: 32.38 kB / 1.291 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.362, allocations: 314.9 kB / 1.292 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.362, allocations: 192 / 1.292 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.076e-05/0.3621, allocations: 11.94 kB / 1.292 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3621, allocations: 0 / 1.292 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003566/0.3624, allocations: 223.8 kB / 1.292 GB, free: 3.715 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.3644, allocations: 0.9961 MB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006969/0.3651, allocations: 463.8 kB / 1.293 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.3654, allocations: 174.6 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.3654, allocations: 0 / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005117/0.3659, allocations: 344.6 kB / 1.294 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 1.482e-06/0.3659, allocations: 0 / 1.294 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001166/0.3671, allocations: 0.6298 MB / 1.294 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/0.3672, allocations: 122.7 kB / 1.294 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008089/0.368, allocations: 0.5916 MB / 1.295 GB, free: 292 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/0.3681, allocations: 45.7 kB / 1.295 GB, free: 240 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/0.3684, allocations: 217.7 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.284e-05/0.3685, allocations: 55.84 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.3688, allocations: 185.5 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002012/0.369, allocations: 362.8 kB / 1.296 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3692, allocations: 119.9 kB / 1.296 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.3708, allocations: 1.779 MB / 1.298 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.3712, allocations: 300.6 kB / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3712, allocations: 0 / 1.298 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008305/0.372, allocations: 429.1 kB / 1.298 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/0.372, allocations: 8 kB / 1.298 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3721, allocations: 7.984 kB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/0.3721, allocations: 4 kB / 1.298 GB, free: 12.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3723, allocations: 31.92 kB / 1.298 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.3723, allocations: 11.69 kB / 1.298 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/0.3736, allocations: 134.5 kB / 1.299 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3736, allocations: 12 kB / 1.299 GB, free: 12.11 MB / 0.9981 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.0004164/0.374, allocations: 253.7 kB / 1.299 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.507e-05/0.3741, allocations: 43.72 kB / 1.299 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3742, allocations: 55.36 kB / 1.299 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.3742, allocations: 4 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.3742, allocations: 7.938 kB / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3742, allocations: 0 / 1.299 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003892/0.3746, allocations: 293.8 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.3746, allocations: 4 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.559e-05/0.3747, allocations: 7.938 kB / 1.299 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.3747, allocations: 3.984 kB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3747, allocations: 8 kB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3747, allocations: 0 / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3747, allocations: 4 kB / 1.299 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.3755, allocations: 0.5235 MB / 1.3 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3756, allocations: 51.75 kB / 1.3 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.3756, allocations: 4 kB / 1.3 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3758, allocations: 19.97 kB / 1.3 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3759, allocations: 31.91 kB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.3759, allocations: 15.98 kB / 1.3 GB, free: 10.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005937/0.3765, allocations: 431.1 kB / 1.3 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3765, allocations: 0 / 1.3 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000635/0.3772, allocations: 111.9 kB / 1.3 GB, free: 10.21 MB / 0.9981 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.0003096/0.3775, allocations: 161.6 kB / 1.301 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006816/0.3782, allocations: 343.6 kB / 1.301 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3782, allocations: 4 kB / 1.301 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.3785, allocations: 199.8 kB / 1.301 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.3788, allocations: 38.83 kB / 1.301 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3802, allocations: 0.8828 MB / 1.302 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3805, allocations: 229.4 kB / 1.302 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.3806, allocations: 39.42 kB / 1.302 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/0.3806, allocations: 0 / 1.302 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of Templates: time 0.01295/0.3935, allocations: 7.116 MB / 1.309 GB, free: 1.277 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.201221457216889]