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.001293/0.001293, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001424/0.001424, allocations: 159.2 kB / 23.01 MB, free: 4.602 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.497/1.497, allocations: 177.2 MB / 203.4 MB, free: 8.875 MB / 190.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 2.866/2.866, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 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.002295/0.002295, allocations: 71.91 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002049/1.067, allocations: 0.8242 MB / 1.155 GB, free: 32.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001768/1.069, allocations: 1.462 MB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.88e-05/1.069, allocations: 2.875 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005191/1.069, allocations: 201.3 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/1.069, allocations: 111.5 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009287/1.07, allocations: 364.8 kB / 1.157 GB, free: 31.5 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008383/1.071, allocations: 0.8741 MB / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001839/1.071, allocations: 59.12 kB / 1.158 GB, free: 31.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003083/1.072, allocations: 352.5 kB / 1.158 GB, free: 31.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003741/1.072, allocations: 283.9 kB / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/1.072, allocations: 46.06 kB / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/1.072, allocations: 125.7 kB / 1.158 GB, free: 30.91 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/1.073, allocations: 365.2 kB / 1.159 GB, free: 30.79 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/1.073, allocations: 234.6 kB / 1.159 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0007333/1.074, allocations: 0.9156 MB / 1.16 GB, free: 30.38 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/1.074, allocations: 0 / 1.16 GB, free: 30.38 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/1.074, allocations: 0 / 1.16 GB, free: 30.38 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.021e-05/1.074, allocations: 0 / 1.16 GB, free: 30.38 MB / 1.076 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.001412/1.075, allocations: 0.8297 MB / 1.161 GB, free: 29.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/1.075, allocations: 8.719 kB / 1.161 GB, free: 29.84 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/1.075, allocations: 57.66 kB / 1.161 GB, free: 29.82 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007708/1.076, allocations: 0.4948 MB / 1.161 GB, free: 29.54 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.189e-05/1.076, allocations: 29.19 kB / 1.161 GB, free: 29.53 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.076, allocations: 32.41 kB / 1.161 GB, free: 29.52 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004064/1.077, allocations: 301.9 kB / 1.162 GB, free: 29.39 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/1.077, allocations: 3.188 kB / 1.162 GB, free: 29.39 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/1.077, allocations: 11.88 kB / 1.162 GB, free: 29.38 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/1.077, allocations: 2.906 kB / 1.162 GB, free: 29.38 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002873/1.077, allocations: 223.1 kB / 1.162 GB, free: 29.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001622/1.079, allocations: 0.9982 MB / 1.163 GB, free: 28.73 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/1.079, allocations: 463.8 kB / 1.163 GB, free: 28.53 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/1.08, allocations: 173.2 kB / 1.163 GB, free: 28.45 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/1.08, allocations: 2.875 kB / 1.163 GB, free: 28.45 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/1.08, allocations: 334.3 kB / 1.164 GB, free: 28.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=24): time 1.693e-06/1.08, allocations: 0 / 1.164 GB, free: 28.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=24): time 0.000906/1.081, allocations: 0.6254 MB / 1.164 GB, free: 28.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/1.081, allocations: 122.1 kB / 1.165 GB, free: 27.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006037/1.081, allocations: 0.5949 MB / 1.165 GB, free: 27.72 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/1.082, allocations: 44.86 kB / 1.165 GB, free: 27.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/1.082, allocations: 223.1 kB / 1.165 GB, free: 27.5 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/1.082, allocations: 49.3 kB / 1.165 GB, free: 27.46 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.082, allocations: 184.2 kB / 1.166 GB, free: 27.41 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.993e-05/1.082, allocations: 360.1 kB / 1.166 GB, free: 27.08 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/1.082, allocations: 130 kB / 1.166 GB, free: 27.04 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009912/1.083, allocations: 1.772 MB / 1.168 GB, free: 25.18 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003083/1.084, allocations: 301.8 kB / 1.168 GB, free: 24.98 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.084, allocations: 0 / 1.168 GB, free: 24.98 MB / 1.076 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005796/1.084, allocations: 430.9 kB / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/1.084, allocations: 7 kB / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/1.084, allocations: 2.156 kB / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.722e-05/1.084, allocations: 8.672 kB / 1.168 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/1.084, allocations: 29.91 kB / 1.169 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/1.084, allocations: 10 kB / 1.169 GB, free: 24.79 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.086, allocations: 134.3 kB / 1.169 GB, free: 24.75 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/1.086, allocations: 15.59 kB / 1.169 GB, free: 24.75 MB / 1.076 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.000244/1.086, allocations: 262.8 kB / 1.169 GB, free: 24.59 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/1.086, allocations: 42.34 kB / 1.169 GB, free: 24.56 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.034e-05/1.086, allocations: 52.56 kB / 1.169 GB, free: 24.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/1.086, allocations: 2.5 kB / 1.169 GB, free: 24.54 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.086, allocations: 3.938 kB / 1.169 GB, free: 24.54 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/1.086, allocations: 9.938 kB / 1.169 GB, free: 24.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/1.086, allocations: 294.3 kB / 1.169 GB, free: 24.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.086, allocations: 0 / 1.169 GB, free: 24.34 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.801e-05/1.086, allocations: 2.875 kB / 1.169 GB, free: 24.34 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/1.086, allocations: 2.844 kB / 1.169 GB, free: 24.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/1.086, allocations: 14.41 kB / 1.169 GB, free: 24.34 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/1.086, allocations: 6.406 kB / 1.169 GB, free: 24.33 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.086, allocations: 0 / 1.169 GB, free: 24.33 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/1.087, allocations: 0.5112 MB / 1.17 GB, free: 24.11 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 9.875e-05/1.087, allocations: 46.61 kB / 1.17 GB, free: 24.08 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.228e-05/1.087, allocations: 9.547 kB / 1.17 GB, free: 24.08 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/1.087, allocations: 12.48 kB / 1.17 GB, free: 24.08 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.89e-05/1.087, allocations: 38.91 kB / 1.17 GB, free: 24.06 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/1.087, allocations: 14.33 kB / 1.17 GB, free: 24.06 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006366/1.088, allocations: 433.1 kB / 1.17 GB, free: 23.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.088, allocations: 0 / 1.17 GB, free: 23.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005587/1.089, allocations: 118.2 kB / 1.17 GB, free: 23.86 MB / 1.076 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.0002465/1.089, allocations: 144.1 kB / 1.171 GB, free: 23.76 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005656/1.09, allocations: 357 kB / 1.171 GB, free: 23.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.09, allocations: 0 / 1.171 GB, free: 23.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002286/1.09, allocations: 163.4 kB / 1.171 GB, free: 23.61 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/1.09, allocations: 49.14 kB / 1.171 GB, free: 23.58 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/1.091, allocations: 0.8462 MB / 1.172 GB, free: 23.14 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/1.092, allocations: 230.1 kB / 1.172 GB, free: 23.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000228/1.092, allocations: 97.38 kB / 1.172 GB, free: 23.03 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/1.092, allocations: 40.66 kB / 1.172 GB, free: 23.01 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/1.092, allocations: 3.938 kB / 1.172 GB, free: 23.01 MB / 1.076 GB Notification: Performance of Templates: time 0.01722/1.109, allocations: 8.642 MB / 1.181 GB, free: 22.08 MB / 1.076 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 -s ida -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.516766853048466]