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.001409/0.001409, allocations: 104.7 kB / 16.45 MB, free: 6.449 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.001667/0.001667, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.777/1.777, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.316/3.316, allocations: 0.4899 GB / 0.7916 GB, free: 33.41 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.002091/0.002091, allocations: 65.78 kB / 1.149 GB, free: 26.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4143, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002258/0.4166, allocations: 0.8571 MB / 1.322 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002103/0.4187, allocations: 1.49 MB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.4188, allocations: 0 / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005462/0.4193, allocations: 199.4 kB / 1.324 GB, free: 316 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.4195, allocations: 115.6 kB / 1.324 GB, free: 200 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.4206, allocations: 368.3 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009997/0.4216, allocations: 0.8738 MB / 1.325 GB, free: 14.97 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002026/0.4218, allocations: 76.25 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.4222, allocations: 347.4 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.4226, allocations: 287.3 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4227, allocations: 47.94 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.423, allocations: 111.9 kB / 1.326 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004618/0.4235, allocations: 351.2 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003478/0.4238, allocations: 278.8 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.4248, allocations: 0.9112 MB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4248, allocations: 0 / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4248, allocations: 0 / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.4248, allocations: 0 / 1.327 GB, free: 12.58 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.001711/0.4265, allocations: 0.9111 MB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.4266, allocations: 8.031 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001962/0.4268, allocations: 52.66 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.4277, allocations: 0.553 MB / 1.329 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.4277, allocations: 20.61 kB / 1.329 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.4278, allocations: 36.38 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.4283, allocations: 303 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.4284, allocations: 4.188 kB / 1.329 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.282e-05/0.4284, allocations: 11.92 kB / 1.329 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4284, allocations: 4 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.4288, allocations: 215.8 kB / 1.329 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.4308, allocations: 1.195 MB / 1.331 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/0.4315, allocations: 459.7 kB / 1.331 GB, free: 8.641 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.4318, allocations: 178.6 kB / 1.331 GB, free: 8.457 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.4318, allocations: 4 kB / 1.331 GB, free: 8.453 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004852/0.4323, allocations: 335.5 kB / 1.332 GB, free: 8.105 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.4323, allocations: 0 / 1.332 GB, free: 8.105 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.0011/0.4334, allocations: 0.6343 MB / 1.332 GB, free: 7.465 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.4334, allocations: 114.8 kB / 1.332 GB, free: 7.328 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.4342, allocations: 0.6034 MB / 1.333 GB, free: 6.719 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-05/0.4343, allocations: 45.69 kB / 1.333 GB, free: 6.668 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.4346, allocations: 217.5 kB / 1.333 GB, free: 6.449 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.4346, allocations: 47.64 kB / 1.333 GB, free: 6.402 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.4349, allocations: 181.5 kB / 1.333 GB, free: 6.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002046/0.4351, allocations: 362.8 kB / 1.334 GB, free: 5.855 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.4353, allocations: 131.9 kB / 1.334 GB, free: 5.727 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009202/0.4362, allocations: 0.7133 MB / 1.334 GB, free: 4.84 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.4366, allocations: 304.6 kB / 1.335 GB, free: 4.496 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4366, allocations: 0 / 1.335 GB, free: 4.496 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007021/0.4373, allocations: 429.1 kB / 1.335 GB, free: 4.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.4374, allocations: 4 kB / 1.335 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4374, allocations: 4 kB / 1.335 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/0.4374, allocations: 8 kB / 1.335 GB, free: 4.055 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.4376, allocations: 35.86 kB / 1.335 GB, free: 4.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.4376, allocations: 7.938 kB / 1.335 GB, free: 4.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.4389, allocations: 128.4 kB / 1.335 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.4389, allocations: 16 kB / 1.335 GB, free: 3.871 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.0003773/0.4393, allocations: 265.4 kB / 1.336 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.4394, allocations: 43.7 kB / 1.336 GB, free: 3.562 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.73e-05/0.4395, allocations: 51.38 kB / 1.336 GB, free: 3.508 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.4395, allocations: 7.938 kB / 1.336 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.4395, allocations: 0 / 1.336 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.4395, allocations: 3.984 kB / 1.336 GB, free: 3.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.44, allocations: 409.2 kB / 1.336 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.44, allocations: 0 / 1.336 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.351e-05/0.44, allocations: 7.938 kB / 1.336 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.44, allocations: 0 / 1.336 GB, free: 3.039 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.44, allocations: 7.984 kB / 1.336 GB, free: 3.031 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.321e-06/0.44, allocations: 11.94 kB / 1.336 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.44, allocations: 0 / 1.336 GB, free: 3.02 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.4408, allocations: 0.51 MB / 1.337 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/0.4409, allocations: 132.8 kB / 1.337 GB, free: 2.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.441, allocations: 4 kB / 1.337 GB, free: 2.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.4411, allocations: 19.91 kB / 1.337 GB, free: 2.312 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.4412, allocations: 39.91 kB / 1.337 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-05/0.4413, allocations: 12 kB / 1.337 GB, free: 2.262 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005508/0.4418, allocations: 431.1 kB / 1.337 GB, free: 1.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4418, allocations: 3.938 kB / 1.337 GB, free: 1.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005184/0.4424, allocations: 119.8 kB / 1.337 GB, free: 1.719 MB / 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.000299/0.4426, allocations: 145.4 kB / 1.338 GB, free: 1.566 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006396/0.4433, allocations: 343.9 kB / 1.338 GB, free: 1.23 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4433, allocations: 0 / 1.338 GB, free: 1.23 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.4436, allocations: 163.8 kB / 1.338 GB, free: 1.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4439, allocations: 36 kB / 1.338 GB, free: 1.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.4453, allocations: 0.8521 MB / 1.339 GB, free: 152 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.4458, allocations: 0.8313 MB / 1.34 GB, free: 15.29 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002374/0.4461, allocations: 91.05 kB / 1.34 GB, free: 15.19 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.4462, allocations: 35.44 kB / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.4462, allocations: 0 / 1.34 GB, free: 15.16 MB / 1.045 GB Notification: Performance of Templates: time 0.01482/0.461, allocations: 8.021 MB / 1.348 GB, free: 7.207 MB / 1.045 GB " [Timeout remaining time 300] 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: 9.84084015339613]