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.001309/0.001309, allocations: 102.1 kB / 19.7 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.001507/0.001507, allocations: 220 kB / 23.01 MB, free: 4.609 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.155/3.155, allocations: 0.49 GB / 0.7958 GB, free: 33.32 MB / 0.6231 GB " [Timeout remaining time 177] 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.002057/0.002057, allocations: 66.91 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3783, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002285/0.3806, allocations: 0.8611 MB / 1.328 GB, free: 0.6016 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002419/0.383, allocations: 1.494 MB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.426e-05/0.3831, allocations: 11.88 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005839/0.3837, allocations: 199.5 kB / 1.33 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.3839, allocations: 111.6 kB / 1.33 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.385, allocations: 379 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.386, allocations: 0.8777 MB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.3862, allocations: 60.55 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.3866, allocations: 351.4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005359/0.3872, allocations: 279.3 kB / 1.332 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.3873, allocations: 44 kB / 1.332 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002923/0.3876, allocations: 127.8 kB / 1.332 GB, free: 12.69 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0005105/0.3881, allocations: 375.2 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.3884, allocations: 274.9 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009917/0.3894, allocations: 0.9151 MB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3894, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3894, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3894, allocations: 0 / 1.333 GB, free: 11.13 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.001642/0.3911, allocations: 0.828 MB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.3911, allocations: 8.031 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001928/0.3913, allocations: 64.64 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/0.3923, allocations: 496.4 kB / 1.335 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/0.3923, allocations: 24.61 kB / 1.335 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.3924, allocations: 40.36 kB / 1.335 GB, free: 9.621 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004824/0.3929, allocations: 307.1 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.3929, allocations: 192 / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.3929, allocations: 7.938 kB / 1.335 GB, free: 9.301 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.393, allocations: 4 kB / 1.335 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.3933, allocations: 227.8 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.3955, allocations: 1.151 MB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007272/0.3962, allocations: 459.8 kB / 1.337 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.3965, allocations: 178.6 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.3965, allocations: 0 / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004829/0.397, allocations: 335.5 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 1.403e-06/0.397, allocations: 0 / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.0011/0.3981, allocations: 0.634 MB / 1.338 GB, free: 6.223 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.3982, allocations: 118.7 kB / 1.338 GB, free: 6.082 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007381/0.3989, allocations: 0.5955 MB / 1.339 GB, free: 5.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.046e-05/0.399, allocations: 49.69 kB / 1.339 GB, free: 5.422 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.3993, allocations: 217.6 kB / 1.339 GB, free: 5.207 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.992e-05/0.3993, allocations: 55.62 kB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002833/0.3996, allocations: 177.5 kB / 1.339 GB, free: 4.973 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.3998, allocations: 362.8 kB / 1.339 GB, free: 4.609 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.4, allocations: 128.2 kB / 1.34 GB, free: 4.484 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009021/0.4009, allocations: 0.7248 MB / 1.34 GB, free: 3.582 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.4013, allocations: 296.6 kB / 1.341 GB, free: 3.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4013, allocations: 0 / 1.341 GB, free: 3.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007096/0.4021, allocations: 429 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.4021, allocations: 8.375 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.4021, allocations: 4 kB / 1.341 GB, free: 2.809 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.4021, allocations: 8 kB / 1.341 GB, free: 2.801 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.4023, allocations: 31.86 kB / 1.341 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.4023, allocations: 11.94 kB / 1.341 GB, free: 2.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.4035, allocations: 119.9 kB / 1.341 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.4035, allocations: 16 kB / 1.341 GB, free: 2.625 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.0003412/0.4039, allocations: 258 kB / 1.341 GB, free: 2.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.404, allocations: 47.7 kB / 1.341 GB, free: 2.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.465e-05/0.4041, allocations: 47.38 kB / 1.341 GB, free: 2.273 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.4041, allocations: 11.88 kB / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4041, allocations: 0 / 1.341 GB, free: 2.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4041, allocations: 8 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.4045, allocations: 384.3 kB / 1.342 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4045, allocations: 0 / 1.342 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.19e-05/0.4045, allocations: 7.938 kB / 1.342 GB, free: 1.828 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.4046, allocations: 4 kB / 1.342 GB, free: 1.824 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4046, allocations: 15.98 kB / 1.342 GB, free: 1.809 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4046, allocations: 4.406 kB / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4046, allocations: 0 / 1.342 GB, free: 1.805 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007386/0.4053, allocations: 0.5216 MB / 1.342 GB, free: 1.258 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.687e-05/0.4054, allocations: 47.75 kB / 1.342 GB, free: 1.211 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.4055, allocations: 8 kB / 1.342 GB, free: 1.203 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.4056, allocations: 15.92 kB / 1.342 GB, free: 1.188 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.4057, allocations: 31.95 kB / 1.343 GB, free: 1.156 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.4057, allocations: 19.98 kB / 1.343 GB, free: 1.137 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005324/0.4063, allocations: 431.1 kB / 1.343 GB, free: 0.7148 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4063, allocations: 4 kB / 1.343 GB, free: 0.7109 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004543/0.4067, allocations: 107.9 kB / 1.343 GB, free: 0.6055 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.0002406/0.407, allocations: 145.7 kB / 1.343 GB, free: 464 kB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006525/0.4076, allocations: 352.3 kB / 1.344 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4076, allocations: 4.25 kB / 1.344 GB, free: 108 kB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/0.408, allocations: 195.8 kB / 1.344 GB, free: 15.91 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002942/0.4082, allocations: 37.95 kB / 1.344 GB, free: 15.88 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.4098, allocations: 0.8806 MB / 1.345 GB, free: 14.95 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/0.4104, allocations: 0.8389 MB / 1.345 GB, free: 14.08 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.4105, allocations: 39.38 kB / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of SimCode: time 5.81e-07/0.4105, allocations: 0 / 1.345 GB, free: 14.04 MB / 1.045 GB Notification: Performance of Templates: time 0.01217/0.4227, allocations: 7.038 MB / 1.352 GB, free: 7.145 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/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: 12.002034039993305]