Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00162/0.00162, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001552/0.001552, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.513/3.513, allocations: 0.4892 GB / 0.7943 GB, free: 35.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002157/0.002157, allocations: 61.12 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4496, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002482/0.4521, allocations: 0.8331 MB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002332/0.4544, allocations: 1.451 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.575e-05/0.4545, allocations: 4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006002/0.4551, allocations: 199.4 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.4553, allocations: 111.6 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.4563, allocations: 375.2 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001025/0.4574, allocations: 0.8699 MB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.4576, allocations: 60.53 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003925/0.458, allocations: 343.4 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004268/0.4584, allocations: 291.3 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00015/0.4585, allocations: 44 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003176/0.4589, allocations: 123.9 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004832/0.4593, allocations: 367.2 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.4596, allocations: 235.1 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.4607, allocations: 0.919 MB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4607, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4607, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.4607, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 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.001717/0.4624, allocations: 0.8358 MB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4625, allocations: 8.031 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.4626, allocations: 60.66 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009068/0.4636, allocations: 496.4 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.4636, allocations: 24.59 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.4637, allocations: 36.38 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.4642, allocations: 303 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.4642, allocations: 192 / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.4643, allocations: 7.938 kB / 1.333 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4643, allocations: 4 kB / 1.333 GB, free: 9.867 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003512/0.4646, allocations: 223.8 kB / 1.333 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.4665, allocations: 1.004 MB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.4672, allocations: 455.7 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/0.4674, allocations: 186.6 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.4675, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004924/0.468, allocations: 338.7 kB / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.393e-06/0.468, allocations: 0 / 1.335 GB, free: 7.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001084/0.469, allocations: 0.6259 MB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.4691, allocations: 118.8 kB / 1.336 GB, free: 6.816 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007816/0.4699, allocations: 0.5994 MB / 1.337 GB, free: 6.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.199e-05/0.47, allocations: 41.7 kB / 1.337 GB, free: 6.156 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.4703, allocations: 221.6 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.4703, allocations: 55.62 kB / 1.337 GB, free: 5.883 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.4706, allocations: 185.5 kB / 1.337 GB, free: 5.695 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4708, allocations: 358.8 kB / 1.338 GB, free: 5.336 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.471, allocations: 123.9 kB / 1.338 GB, free: 5.215 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4726, allocations: 1.779 MB / 1.339 GB, free: 3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.473, allocations: 304.6 kB / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.473, allocations: 0 / 1.34 GB, free: 2.656 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006768/0.4737, allocations: 420.9 kB / 1.34 GB, free: 2.238 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4737, allocations: 8 kB / 1.34 GB, free: 2.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4737, allocations: 4 kB / 1.34 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.4737, allocations: 4 kB / 1.34 GB, free: 2.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4739, allocations: 39.91 kB / 1.34 GB, free: 2.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.4739, allocations: 11.88 kB / 1.34 GB, free: 2.172 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.4751, allocations: 129.9 kB / 1.34 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.4751, allocations: 12 kB / 1.34 GB, free: 2.035 MB / 1.029 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.0003483/0.4754, allocations: 258.2 kB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.928e-05/0.4755, allocations: 43.97 kB / 1.341 GB, free: 1.734 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.4756, allocations: 55.36 kB / 1.341 GB, free: 1.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4756, allocations: 4 kB / 1.341 GB, free: 1.676 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.765e-05/0.4757, allocations: 7.938 kB / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4757, allocations: 0.75 kB / 1.341 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.4761, allocations: 301 kB / 1.341 GB, free: 1.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4761, allocations: 4 kB / 1.341 GB, free: 1.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.191e-05/0.4761, allocations: 7.938 kB / 1.341 GB, free: 1.332 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4761, allocations: 0 / 1.341 GB, free: 1.332 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.805e-05/0.4761, allocations: 15.98 kB / 1.341 GB, free: 1.316 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.4761, allocations: 4 kB / 1.341 GB, free: 1.312 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4761, allocations: 0 / 1.341 GB, free: 1.312 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007267/0.4769, allocations: 0.5117 MB / 1.341 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.477, allocations: 51.75 kB / 1.342 GB, free: 0.7266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.477, allocations: 4 kB / 1.342 GB, free: 0.7227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.4772, allocations: 15.98 kB / 1.342 GB, free: 0.707 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4773, allocations: 39.83 kB / 1.342 GB, free: 0.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.4773, allocations: 15.98 kB / 1.342 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005272/0.4778, allocations: 431.1 kB / 1.342 GB, free: 236 kB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4778, allocations: 0 / 1.342 GB, free: 236 kB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004486/0.4783, allocations: 111.9 kB / 1.342 GB, free: 124 kB / 1.029 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.0002733/0.4786, allocations: 149.7 kB / 1.342 GB, free: 15.96 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006073/0.4792, allocations: 347.4 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4792, allocations: 0.75 kB / 1.343 GB, free: 15.62 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.4794, allocations: 171.8 kB / 1.343 GB, free: 15.46 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.4797, allocations: 33.95 kB / 1.343 GB, free: 15.43 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.4811, allocations: 0.8382 MB / 1.344 GB, free: 14.55 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.4814, allocations: 233.4 kB / 1.344 GB, free: 14.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.4816, allocations: 91.56 kB / 1.344 GB, free: 14.2 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.4817, allocations: 39.42 kB / 1.344 GB, free: 14.16 MB / 1.045 GB Notification: Performance of SimCode: time 5.71e-07/0.4817, allocations: 0 / 1.344 GB, free: 14.16 MB / 1.045 GB Notification: Performance of Templates: time 0.01693/0.4986, allocations: 8.925 MB / 1.353 GB, free: 5.387 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.141708008944988]