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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001079/0.001078, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00146/0.00146, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.634/2.634, allocations: 437.7 MB / 0.7117 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004275, allocations: 8 kB / 0.8722 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8371, allocations: 153.8 MB / 1.022 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001143/0.8383, allocations: 0.5543 MB / 1.023 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002554/0.8408, allocations: 1.421 MB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.841, allocations: 3.938 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.8416, allocations: 191.5 kB / 1.025 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001807/0.8418, allocations: 103.7 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.843, allocations: 311.2 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009951/0.844, allocations: 0.655 MB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002942/0.8443, allocations: 84.42 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007425/0.845, allocations: 299.4 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006142/0.8457, allocations: 227.4 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002499/0.8459, allocations: 19.94 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003955/0.8463, allocations: 75.89 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.8469, allocations: 299.4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000257/0.8472, allocations: 93.45 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009521/0.8481, allocations: 0.6956 MB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.8482, allocations: 4 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.788e-06/0.8482, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.849e-05/0.8482, allocations: 4 kB / 1.027 GB, free: 10.99 MB / 0.7794 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.001626/0.8498, allocations: 0.697 MB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.8499, allocations: 16.52 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.8502, allocations: 51.44 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/0.8512, allocations: 0.5244 MB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.8512, allocations: 24.23 kB / 1.029 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.8514, allocations: 39.95 kB / 1.029 GB, free: 9.551 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005007/0.8519, allocations: 302.9 kB / 1.029 GB, free: 9.242 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.8519, allocations: 3.984 kB / 1.029 GB, free: 9.238 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.8519, allocations: 7.938 kB / 1.029 GB, free: 9.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/0.852, allocations: 4 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.8523, allocations: 219.9 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00205/0.8544, allocations: 1.187 MB / 1.03 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/0.855, allocations: 475.7 kB / 1.031 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/0.8553, allocations: 182.6 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.8553, allocations: 0 / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005048/0.8559, allocations: 330.9 kB / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.934e-06/0.8559, allocations: 0 / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.001085/0.857, allocations: 0.6262 MB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.8571, allocations: 118.8 kB / 1.032 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007959/0.8579, allocations: 0.5917 MB / 1.033 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.858, allocations: 53.7 kB / 1.033 GB, free: 5.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.8583, allocations: 222.8 kB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.8583, allocations: 51.44 kB / 1.033 GB, free: 5.043 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.8584, allocations: 4 kB / 1.033 GB, free: 5.039 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.8585, allocations: 362.8 kB / 1.033 GB, free: 4.676 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.8587, allocations: 127.9 kB / 1.033 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008264/0.8596, allocations: 0.7106 MB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.8599, allocations: 171.9 kB / 1.034 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8599, allocations: 0 / 1.034 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000648/0.8605, allocations: 429.1 kB / 1.035 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.8605, allocations: 7.938 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.8606, allocations: 4 kB / 1.035 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.8606, allocations: 11.94 kB / 1.035 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001655/0.8608, allocations: 31.92 kB / 1.035 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.8608, allocations: 4 kB / 1.035 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.8619, allocations: 145.1 kB / 1.035 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.8619, allocations: 12 kB / 1.035 GB, free: 2.871 MB / 0.7794 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003445/0.8623, allocations: 261.5 kB / 1.035 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.8624, allocations: 39.53 kB / 1.035 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.773e-05/0.8625, allocations: 59.3 kB / 1.035 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.8625, allocations: 7.953 kB / 1.035 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8625, allocations: 0 / 1.035 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.8625, allocations: 0 / 1.035 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.863, allocations: 413.2 kB / 1.036 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.863, allocations: 4 kB / 1.036 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.863, allocations: 4 kB / 1.036 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.863, allocations: 0 / 1.036 GB, free: 2.039 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.8631, allocations: 11.98 kB / 1.036 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.8631, allocations: 4 kB / 1.036 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.8631, allocations: 8.203 kB / 1.036 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.8638, allocations: 0.508 MB / 1.036 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.8639, allocations: 144.5 kB / 1.036 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.864, allocations: 4 kB / 1.036 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.8642, allocations: 15.98 kB / 1.036 GB, free: 1.305 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.508e-05/0.8642, allocations: 39.91 kB / 1.036 GB, free: 1.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.8643, allocations: 12 kB / 1.036 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0005104/0.8648, allocations: 435 kB / 1.037 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9.52e-07/0.8648, allocations: 0 / 1.037 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004914/0.8653, allocations: 111.9 kB / 1.037 GB, free: 0.7227 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002506/0.8656, allocations: 153.3 kB / 1.037 GB, free: 0.5625 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.8662, allocations: 355.6 kB / 1.037 GB, free: 220 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8662, allocations: 0 / 1.037 GB, free: 220 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.8665, allocations: 187.8 kB / 1.037 GB, free: 32 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.8668, allocations: 38.03 kB / 1.038 GB, free: 15.99 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001402/0.8682, allocations: 0.883 MB / 1.038 GB, free: 15.08 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004712/0.8687, allocations: 0.843 MB / 1.039 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002689/0.869, allocations: 94.92 kB / 1.039 GB, free: 14.12 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.8691, allocations: 39.42 kB / 1.039 GB, free: 14.08 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.8691, allocations: 0 / 1.039 GB, free: 14.08 MB / 0.795 GB Notification: Performance of Templates: time 0.01402/0.8831, allocations: 7.333 MB / 1.046 GB, free: 6.832 MB / 0.795 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=480 -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/jenkins/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