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.001675/0.001675, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002043/0.002043, allocations: 216.7 kB / 23.01 MB, free: 4.566 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.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 3.291/3.291, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 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.002164/0.002164, allocations: 66.2 kB / 1.178 GB, free: 16.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3845, allocations: 180.2 MB / 1.354 GB, free: 7.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002352/0.3869, allocations: 0.8633 MB / 1.355 GB, free: 7.105 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002318/0.3892, allocations: 1.502 MB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.3893, allocations: 4 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005487/0.3898, allocations: 199.4 kB / 1.357 GB, free: 5.391 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.39, allocations: 111.6 kB / 1.357 GB, free: 5.281 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.3911, allocations: 366.9 kB / 1.357 GB, free: 4.93 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3921, allocations: 0.8855 MB / 1.358 GB, free: 4.043 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.3923, allocations: 60.56 kB / 1.358 GB, free: 3.984 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.3927, allocations: 343.5 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004542/0.3932, allocations: 291.2 kB / 1.359 GB, free: 3.363 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.3933, allocations: 44 kB / 1.359 GB, free: 3.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003321/0.3936, allocations: 127.9 kB / 1.359 GB, free: 3.195 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.3941, allocations: 363.8 kB / 1.359 GB, free: 2.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000349/0.3945, allocations: 274.8 kB / 1.359 GB, free: 2.57 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.3955, allocations: 0.9152 MB / 1.36 GB, free: 1.652 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3955, allocations: 3.938 kB / 1.36 GB, free: 1.648 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3955, allocations: 3.938 kB / 1.36 GB, free: 1.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.3955, allocations: 0 / 1.36 GB, free: 1.645 MB / 1.045 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.001666/0.3972, allocations: 0.832 MB / 1.361 GB, free: 0.7734 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3972, allocations: 11.97 kB / 1.361 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.3974, allocations: 60.61 kB / 1.361 GB, free: 0.7031 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009755/0.3984, allocations: 496.5 kB / 1.362 GB, free: 200 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.3984, allocations: 28.61 kB / 1.362 GB, free: 172 kB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3985, allocations: 36.38 kB / 1.362 GB, free: 136 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.399, allocations: 307.4 kB / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.3991, allocations: 192 / 1.362 GB, free: 15.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3991, allocations: 11.88 kB / 1.362 GB, free: 15.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3991, allocations: 4 kB / 1.362 GB, free: 15.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.3995, allocations: 223.8 kB / 1.362 GB, free: 15.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.4017, allocations: 1.155 MB / 1.363 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007253/0.4024, allocations: 451.7 kB / 1.364 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/0.4027, allocations: 182.6 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.4027, allocations: 4 kB / 1.364 GB, free: 13.72 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/0.4032, allocations: 334.7 kB / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.4032, allocations: 0 / 1.364 GB, free: 13.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.001144/0.4043, allocations: 0.6299 MB / 1.365 GB, free: 12.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.4044, allocations: 118.7 kB / 1.365 GB, free: 12.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007781/0.4052, allocations: 0.6033 MB / 1.366 GB, free: 11.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.4053, allocations: 41.7 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/0.4056, allocations: 209.7 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.047e-05/0.4056, allocations: 60.33 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.4059, allocations: 189.5 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4061, allocations: 358.8 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.4063, allocations: 127.9 kB / 1.367 GB, free: 10.99 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009165/0.4072, allocations: 0.7133 MB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.4076, allocations: 308.3 kB / 1.368 GB, free: 9.75 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4076, allocations: 4 kB / 1.368 GB, free: 9.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006998/0.4083, allocations: 416.9 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.4083, allocations: 9.344 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.4084, allocations: 4 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.4084, allocations: 8 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.4085, allocations: 36.23 kB / 1.368 GB, free: 9.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.4086, allocations: 11.98 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.4098, allocations: 120 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.4098, allocations: 19.98 kB / 1.368 GB, free: 9.129 MB / 1.061 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.0003543/0.4102, allocations: 270.2 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.151e-05/0.4103, allocations: 39.72 kB / 1.368 GB, free: 8.816 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.96e-05/0.4104, allocations: 51.38 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.4104, allocations: 7.938 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.4104, allocations: 0 / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.4104, allocations: 3.984 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004518/0.4108, allocations: 380.6 kB / 1.369 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4108, allocations: 8 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.31e-05/0.4109, allocations: 7.984 kB / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4109, allocations: 0 / 1.369 GB, free: 8.324 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4109, allocations: 4 kB / 1.369 GB, free: 8.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.4109, allocations: 7.938 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.4109, allocations: 3.938 kB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00074/0.4116, allocations: 0.5193 MB / 1.369 GB, free: 7.766 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.4117, allocations: 47.75 kB / 1.369 GB, free: 7.719 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.293e-05/0.4118, allocations: 11.98 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.4119, allocations: 15.92 kB / 1.369 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.412, allocations: 27.97 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.4121, allocations: 19.98 kB / 1.369 GB, free: 7.645 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005378/0.4126, allocations: 431 kB / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4126, allocations: 0 / 1.37 GB, free: 7.227 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004965/0.4131, allocations: 115.8 kB / 1.37 GB, free: 7.113 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: 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.0002587/0.4134, allocations: 147.7 kB / 1.37 GB, free: 6.961 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006236/0.414, allocations: 347.6 kB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.414, allocations: 0.75 kB / 1.37 GB, free: 6.621 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003212/0.4143, allocations: 199.8 kB / 1.371 GB, free: 6.426 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.4146, allocations: 39.45 kB / 1.371 GB, free: 6.391 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.4161, allocations: 0.8828 MB / 1.372 GB, free: 5.465 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.4166, allocations: 0.8311 MB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4167, allocations: 39.42 kB / 1.372 GB, free: 4.562 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/0.4167, allocations: 0 / 1.372 GB, free: 4.562 MB / 1.061 GB Notification: Performance of Templates: time 0.01179/0.4285, allocations: 7.044 MB / 1.379 GB, free: 13.64 MB / 1.076 GB " [Timeout remaining time 300] 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 -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: 12.743656307982747]