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.001771/0.001771, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00218/0.00218, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.679/1.679, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.277/3.277, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002143/0.002143, allocations: 73.55 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3783, allocations: 176.1 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002324/0.3806, allocations: 0.8314 MB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002544/0.3831, allocations: 1.451 MB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.679e-05/0.3832, allocations: 7.938 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006417/0.3839, allocations: 199.4 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.384, allocations: 115.7 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.3852, allocations: 359.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.3863, allocations: 0.8777 MB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3865, allocations: 52.56 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.3869, allocations: 359.4 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004319/0.3873, allocations: 287.3 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.3874, allocations: 44 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.3878, allocations: 135.8 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004917/0.3883, allocations: 355.3 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003398/0.3886, allocations: 243 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.3897, allocations: 0.9151 MB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3897, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3897, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.3897, allocations: 4 kB / 1.333 GB, free: 10.75 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.001843/0.3915, allocations: 0.8319 MB / 1.334 GB, free: 9.883 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3916, allocations: 12.03 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/0.3918, allocations: 52.66 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009871/0.3928, allocations: 0.4887 MB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.3928, allocations: 20.61 kB / 1.335 GB, free: 9.285 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.393, allocations: 36.38 kB / 1.335 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.3935, allocations: 311.8 kB / 1.335 GB, free: 8.934 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3935, allocations: 4.188 kB / 1.335 GB, free: 8.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3935, allocations: 7.922 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.3935, allocations: 4 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.3939, allocations: 219.8 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.3961, allocations: 0.9961 MB / 1.336 GB, free: 7.668 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006828/0.3967, allocations: 463.8 kB / 1.336 GB, free: 7.188 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.397, allocations: 178.6 kB / 1.337 GB, free: 7.004 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.397, allocations: 3.938 kB / 1.337 GB, free: 7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005278/0.3975, allocations: 340.9 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 2.345e-06/0.3975, allocations: 4 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001175/0.3987, allocations: 0.6189 MB / 1.338 GB, free: 6.02 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.8e-05/0.3988, allocations: 118.8 kB / 1.338 GB, free: 5.879 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008659/0.3997, allocations: 0.5955 MB / 1.338 GB, free: 5.273 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.3998, allocations: 45.69 kB / 1.338 GB, free: 5.223 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002462/0.4, allocations: 217.7 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.088e-05/0.4001, allocations: 55.58 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003/0.4004, allocations: 185.5 kB / 1.339 GB, free: 4.766 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002096/0.4006, allocations: 358.8 kB / 1.339 GB, free: 4.406 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.4008, allocations: 123.9 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.4024, allocations: 1.779 MB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.4028, allocations: 308.6 kB / 1.341 GB, free: 1.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.4028, allocations: 4 kB / 1.341 GB, free: 1.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007605/0.4036, allocations: 420.9 kB / 1.342 GB, free: 1.301 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.4036, allocations: 8 kB / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4036, allocations: 4 kB / 1.342 GB, free: 1.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/0.4036, allocations: 4.375 kB / 1.342 GB, free: 1.285 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/0.4038, allocations: 43.86 kB / 1.342 GB, free: 1.242 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.4038, allocations: 7.938 kB / 1.342 GB, free: 1.234 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4052, allocations: 128.2 kB / 1.342 GB, free: 1.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.4052, allocations: 16 kB / 1.342 GB, free: 1.094 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.000449/0.4057, allocations: 258.2 kB / 1.342 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.105e-05/0.4058, allocations: 39.72 kB / 1.342 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.4059, allocations: 55.36 kB / 1.342 GB, free: 0.7422 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/0.4059, allocations: 4 kB / 1.342 GB, free: 0.7383 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4059, allocations: 3.938 kB / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.4059, allocations: 0 / 1.342 GB, free: 0.7344 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003928/0.4063, allocations: 301 kB / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4063, allocations: 0 / 1.342 GB, free: 420 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.746e-05/0.4063, allocations: 15.92 kB / 1.343 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.4063, allocations: 0 / 1.343 GB, free: 404 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4063, allocations: 8 kB / 1.343 GB, free: 396 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.339e-06/0.4063, allocations: 4 kB / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4063, allocations: 0 / 1.343 GB, free: 392 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.4071, allocations: 0.5113 MB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.4072, allocations: 51.75 kB / 1.343 GB, free: 15.8 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.4073, allocations: 7.984 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.4074, allocations: 15.98 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/0.4075, allocations: 31.91 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.4076, allocations: 23.98 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006312/0.4082, allocations: 435.1 kB / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4082, allocations: 0 / 1.344 GB, free: 15.29 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005527/0.4088, allocations: 107.8 kB / 1.344 GB, free: 15.19 MB / 1.045 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.0003393/0.4091, allocations: 153.6 kB / 1.344 GB, free: 15.03 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.4098, allocations: 348 kB / 1.344 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4098, allocations: 0 / 1.344 GB, free: 14.69 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.4101, allocations: 167.8 kB / 1.344 GB, free: 14.52 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.4104, allocations: 44.06 kB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.4118, allocations: 0.8382 MB / 1.345 GB, free: 13.61 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.4121, allocations: 237.6 kB / 1.345 GB, free: 13.35 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002358/0.4123, allocations: 86.94 kB / 1.345 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.568e-05/0.4124, allocations: 35.42 kB / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of SimCode: time 4.71e-07/0.4124, allocations: 7.938 kB / 1.346 GB, free: 13.22 MB / 1.045 GB Notification: Performance of Templates: time 0.01648/0.4289, allocations: 8.92 MB / 1.354 GB, free: 4.438 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 -s cvode -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/jenkins1/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.622381599998334]