Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booTimTab.y.1.|booTimTab.y.2.|booTimTabTwi.y.1.|booTimTabTwi.y.2.|booTimTabOneRow.y.1.|booTimTabOneRow.y.2.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 105.6 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.557/2.557, allocations: 437.1 MB / 0.7111 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001929, allocations: 72.64 kB / 0.8699 GB, free: 2.105 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 151.6 MB / 1.018 GB, free: 10.54 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002608/0.3261, allocations: 0.8646 MB / 1.019 GB, free: 9.676 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002509/0.3287, allocations: 1.457 MB / 1.02 GB, free: 8.203 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.3288, allocations: 7.938 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.3294, allocations: 195.5 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.3295, allocations: 111.6 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009702/0.3305, allocations: 345.7 kB / 1.021 GB, free: 7.562 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0009723/0.3315, allocations: 0.8621 MB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.3317, allocations: 104.2 kB / 1.022 GB, free: 6.594 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.3321, allocations: 335.5 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003797/0.3325, allocations: 267.2 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/0.3326, allocations: 48 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.3329, allocations: 107.9 kB / 1.023 GB, free: 5.852 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000452/0.3334, allocations: 347.3 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003504/0.3337, allocations: 270.8 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000951/0.3347, allocations: 0.908 MB / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3347, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3347, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3347, allocations: 0 / 1.024 GB, free: 4.336 MB / 0.795 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.001585/0.3363, allocations: 0.8957 MB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3364, allocations: 12.88 kB / 1.025 GB, free: 3.375 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.3366, allocations: 56.31 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008287/0.3374, allocations: 0.5371 MB / 1.026 GB, free: 2.742 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.3375, allocations: 24.61 kB / 1.026 GB, free: 2.719 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.3376, allocations: 40.36 kB / 1.026 GB, free: 2.68 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.3381, allocations: 307.2 kB / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.3381, allocations: 192 / 1.026 GB, free: 2.367 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.3381, allocations: 11.94 kB / 1.026 GB, free: 2.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.3382, allocations: 4 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003407/0.3385, allocations: 219.8 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.3405, allocations: 1.195 MB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.3412, allocations: 467.8 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.3414, allocations: 182.5 kB / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.3415, allocations: 0 / 1.028 GB, free: 216 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000497/0.342, allocations: 331.3 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=24): time 1.292e-06/0.342, allocations: 0 / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24): time 0.001124/0.3431, allocations: 0.6257 MB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/0.3432, allocations: 118.7 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007611/0.344, allocations: 0.5994 MB / 1.03 GB, free: 14.49 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.089e-05/0.3441, allocations: 41.7 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.3443, allocations: 226.5 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.537e-05/0.3444, allocations: 47.5 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002682/0.3447, allocations: 186.3 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3449, allocations: 358.8 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.3451, allocations: 123.9 kB / 1.03 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009504/0.346, allocations: 0.7187 MB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.3464, allocations: 300.6 kB / 1.031 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3464, allocations: 3.938 kB / 1.031 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007291/0.3472, allocations: 421 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3472, allocations: 8 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3472, allocations: 3.938 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.3473, allocations: 11.94 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/0.3474, allocations: 31.91 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.3474, allocations: 11.94 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.3488, allocations: 136.1 kB / 1.032 GB, free: 11.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.3488, allocations: 12 kB / 1.032 GB, free: 11.64 MB / 0.8106 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.0003976/0.3492, allocations: 262.1 kB / 1.032 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.176e-05/0.3493, allocations: 39.53 kB / 1.032 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3495, allocations: 59.3 kB / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3495, allocations: 4 kB / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.3495, allocations: 0 / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.3495, allocations: 4 kB / 1.032 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.35, allocations: 409.2 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.35, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.488e-05/0.35, allocations: 7.938 kB / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.35, allocations: 0 / 1.033 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.601e-05/0.3501, allocations: 15.92 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.3501, allocations: 4 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3501, allocations: 0 / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/0.3508, allocations: 0.5079 MB / 1.033 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.351, allocations: 128.6 kB / 1.033 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.218e-05/0.351, allocations: 15.81 kB / 1.033 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.3512, allocations: 23.98 kB / 1.033 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.3513, allocations: 23.97 kB / 1.033 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.485e-05/0.3513, allocations: 19.98 kB / 1.034 GB, free: 10.04 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005513/0.3519, allocations: 435.1 kB / 1.034 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3519, allocations: 0 / 1.034 GB, free: 9.617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004847/0.3524, allocations: 107.9 kB / 1.034 GB, free: 9.512 MB / 0.8106 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.0002767/0.3527, allocations: 145.4 kB / 1.034 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006556/0.3533, allocations: 375.8 kB / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3533, allocations: 0 / 1.035 GB, free: 8.992 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.3537, allocations: 231.7 kB / 1.035 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.354, allocations: 33.95 kB / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.3555, allocations: 0.8837 MB / 1.036 GB, free: 7.809 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.356, allocations: 0.8311 MB / 1.036 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3561, allocations: 39.42 kB / 1.036 GB, free: 6.914 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3561, allocations: 4 kB / 1.036 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.01203/0.3682, allocations: 6.95 MB / 1.043 GB, free: 108 kB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches