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.001358/0.001358, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001478/0.001478, allocations: 210.7 kB / 22.99 MB, free: 4.957 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.289/3.289, allocations: 0.49 GB / 0.7959 GB, free: 35.57 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.002073/0.002073, allocations: 71.7 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3284, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002046/0.3305, allocations: 0.8298 MB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.3326, allocations: 1.459 MB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.3327, allocations: 3.938 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3332, allocations: 199.5 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.3334, allocations: 115.6 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.3344, allocations: 370.9 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009749/0.3354, allocations: 0.8777 MB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001605/0.3356, allocations: 52.56 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.336, allocations: 355.4 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.3364, allocations: 287.3 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.3365, allocations: 44 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.3368, allocations: 127.8 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0004671/0.3373, allocations: 359.3 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.3376, allocations: 247 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.3386, allocations: 0.9112 MB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3386, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3386, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.3386, allocations: 0 / 1.333 GB, free: 10.8 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.001684/0.3403, allocations: 0.8319 MB / 1.334 GB, free: 9.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.3403, allocations: 12.03 kB / 1.334 GB, free: 9.918 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002214/0.3405, allocations: 56.66 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009943/0.3415, allocations: 0.4887 MB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.3416, allocations: 24.61 kB / 1.335 GB, free: 9.324 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.3417, allocations: 36.38 kB / 1.335 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.3422, allocations: 306.9 kB / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3422, allocations: 192 / 1.335 GB, free: 8.977 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.3422, allocations: 15.92 kB / 1.335 GB, free: 8.961 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.336e-06/0.3422, allocations: 4 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.3426, allocations: 215.8 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.3447, allocations: 0.996 MB / 1.336 GB, free: 7.711 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000669/0.3453, allocations: 467.8 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.3456, allocations: 174.6 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.3456, allocations: 0 / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000508/0.3461, allocations: 340.1 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of pre-optimization done (n=24): time 3.487e-06/0.3461, allocations: 3.984 kB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of matching and sorting (n=24): time 0.001119/0.3472, allocations: 0.6227 MB / 1.338 GB, free: 6.062 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/0.3473, allocations: 118.8 kB / 1.338 GB, free: 5.922 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/0.3481, allocations: 0.5994 MB / 1.338 GB, free: 5.312 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.3482, allocations: 49.69 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.3484, allocations: 213.7 kB / 1.339 GB, free: 5.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.3485, allocations: 47.64 kB / 1.339 GB, free: 5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003097/0.3488, allocations: 189.5 kB / 1.339 GB, free: 4.809 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002296/0.349, allocations: 366.7 kB / 1.339 GB, free: 4.441 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.3492, allocations: 127.9 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.3511, allocations: 1.779 MB / 1.341 GB, free: 2.102 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004522/0.3516, allocations: 296.6 kB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3516, allocations: 0 / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008525/0.3524, allocations: 428.9 kB / 1.342 GB, free: 1.34 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.3524, allocations: 9.562 kB / 1.342 GB, free: 1.332 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.3525, allocations: 4 kB / 1.342 GB, free: 1.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/0.3525, allocations: 4 kB / 1.342 GB, free: 1.324 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.3527, allocations: 31.92 kB / 1.342 GB, free: 1.293 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.3527, allocations: 12.48 kB / 1.342 GB, free: 1.281 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.3542, allocations: 132 kB / 1.342 GB, free: 1.152 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.3542, allocations: 8 kB / 1.342 GB, free: 1.145 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.000453/0.3546, allocations: 262.2 kB / 1.342 GB, free: 0.8828 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.062e-05/0.3547, allocations: 51.7 kB / 1.342 GB, free: 0.832 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.3548, allocations: 47.38 kB / 1.342 GB, free: 0.7852 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3548, allocations: 4 kB / 1.342 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3548, allocations: 3.938 kB / 1.342 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.441e-06/0.3549, allocations: 0 / 1.342 GB, free: 0.7773 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.3553, allocations: 297 kB / 1.342 GB, free: 468 kB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3553, allocations: 0 / 1.342 GB, free: 468 kB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.3553, allocations: 15.92 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3553, allocations: 0 / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.3553, allocations: 8 kB / 1.343 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3553, allocations: 4 kB / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3553, allocations: 0 / 1.343 GB, free: 440 kB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008047/0.3561, allocations: 0.5176 MB / 1.343 GB, free: 15.89 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.3562, allocations: 47.75 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.3563, allocations: 11.98 kB / 1.343 GB, free: 15.83 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.3565, allocations: 11.98 kB / 1.343 GB, free: 15.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.3566, allocations: 31.91 kB / 1.343 GB, free: 15.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.3566, allocations: 23.98 kB / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005602/0.3572, allocations: 431.1 kB / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3572, allocations: 0 / 1.344 GB, free: 15.34 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005152/0.3577, allocations: 115.9 kB / 1.344 GB, free: 15.23 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.0003171/0.358, allocations: 145.7 kB / 1.344 GB, free: 15.07 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006335/0.3586, allocations: 351.4 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3586, allocations: 0.75 kB / 1.344 GB, free: 14.73 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.3589, allocations: 167.9 kB / 1.344 GB, free: 14.57 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3592, allocations: 37.89 kB / 1.344 GB, free: 14.53 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.3606, allocations: 0.8398 MB / 1.345 GB, free: 13.65 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3608, allocations: 229.4 kB / 1.345 GB, free: 13.4 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.000235/0.3611, allocations: 98.84 kB / 1.345 GB, free: 13.3 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/0.3612, allocations: 39.44 kB / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of SimCode: time 6.61e-07/0.3612, allocations: 0 / 1.346 GB, free: 13.27 MB / 1.045 GB Notification: Performance of Templates: time 0.01559/0.3768, allocations: 8.923 MB / 1.354 GB, free: 4.48 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 gbode -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.09300211200025]