Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.TimeTableNegativeStartTime,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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime,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_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001003/0.001003, allocations: 177.3 kB / 15.94 MB, free: 228 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.482/1.482, allocations: 223.2 MB / 239.9 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.72/2.72, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 16 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8357/0.8361, allocations: 153.7 MB / 1.021 GB, free: 1.266 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime): time 0.0009786/0.8371, allocations: 0.5583 MB / 1.021 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.839, allocations: 1.382 MB / 1.023 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.701e-05/0.8391, allocations: 7.938 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.8395, allocations: 179.6 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001334/0.8397, allocations: 107.8 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008181/0.8405, allocations: 319.1 kB / 1.023 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006665/0.8412, allocations: 0.4953 MB / 1.024 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.8414, allocations: 80.42 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.8416, allocations: 295.4 kB / 1.024 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002879/0.8419, allocations: 219.5 kB / 1.024 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.864e-05/0.842, allocations: 16 kB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.8422, allocations: 75.88 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003701/0.8426, allocations: 291.4 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.848e-05/0.8427, allocations: 89.52 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005913/0.8433, allocations: 0.7035 MB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.8433, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.024e-06/0.8433, allocations: 0 / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.8433, allocations: 0 / 1.026 GB, free: 12.46 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.00119/0.8445, allocations: 0.7048 MB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.8446, allocations: 11.98 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.8447, allocations: 51.44 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009017/0.8456, allocations: 0.5244 MB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.8457, allocations: 28.22 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.8458, allocations: 39.95 kB / 1.027 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.8463, allocations: 309.6 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.8463, allocations: 0 / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.8463, allocations: 4 kB / 1.027 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.8463, allocations: 4 kB / 1.027 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003063/0.8466, allocations: 223.8 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.8486, allocations: 1.188 MB / 1.029 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005903/0.8492, allocations: 475.8 kB / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.8493, allocations: 0 / 1.029 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.8497, allocations: 330.2 kB / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=24): time 1.412e-06/0.8497, allocations: 0 / 1.029 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24): time 0.0009501/0.8507, allocations: 0.6295 MB / 1.03 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.828e-05/0.8508, allocations: 114.8 kB / 1.03 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006789/0.8514, allocations: 0.5993 MB / 1.031 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.909e-05/0.8515, allocations: 49.69 kB / 1.031 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002475/0.8518, allocations: 218.9 kB / 1.031 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/0.8519, allocations: 47.47 kB / 1.031 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.46e-05/0.8519, allocations: 4 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.852, allocations: 362.8 kB / 1.031 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001719/0.8522, allocations: 127.9 kB / 1.031 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/0.853, allocations: 0.7059 MB / 1.032 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.8532, allocations: 171.8 kB / 1.032 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.8532, allocations: 8 kB / 1.032 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005998/0.8538, allocations: 416.6 kB / 1.033 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.8539, allocations: 8 kB / 1.033 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.8539, allocations: 0 / 1.033 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.8539, allocations: 12.33 kB / 1.033 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.8541, allocations: 36.17 kB / 1.033 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.8541, allocations: 15.88 kB / 1.033 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.8553, allocations: 135.5 kB / 1.033 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.8553, allocations: 16 kB / 1.033 GB, free: 4.52 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.0003035/0.8556, allocations: 261.5 kB / 1.033 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.8557, allocations: 47.42 kB / 1.033 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.005e-05/0.8558, allocations: 47.38 kB / 1.033 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.8558, allocations: 4 kB / 1.033 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.8558, allocations: 3.953 kB / 1.033 GB, free: 4.156 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8558, allocations: 8 kB / 1.033 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.8562, allocations: 405.2 kB / 1.034 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.8562, allocations: 0 / 1.034 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.091e-05/0.8563, allocations: 7.938 kB / 1.034 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.8563, allocations: 4.75 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/0.8563, allocations: 11.98 kB / 1.034 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.8563, allocations: 0 / 1.034 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.8563, allocations: 0 / 1.034 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.857, allocations: 0.5414 MB / 1.034 GB, free: 3.102 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.8571, allocations: 144.5 kB / 1.034 GB, free: 2.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.8572, allocations: 7.953 kB / 1.034 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.8573, allocations: 15.98 kB / 1.034 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.823e-05/0.8574, allocations: 35.95 kB / 1.034 GB, free: 2.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.8575, allocations: 8 kB / 1.034 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004797/0.858, allocations: 439 kB / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.284e-06/0.858, allocations: 0 / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004606/0.8584, allocations: 115.9 kB / 1.035 GB, free: 2.332 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.0002706/0.8587, allocations: 149.3 kB / 1.035 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005537/0.8593, allocations: 348.2 kB / 1.035 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8593, allocations: 0 / 1.035 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.8595, allocations: 187.9 kB / 1.036 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.8598, allocations: 34.52 kB / 1.036 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.8611, allocations: 0.8801 MB / 1.036 GB, free: 0.7109 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005006/0.8616, allocations: 0.8508 MB / 1.037 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002344/0.8618, allocations: 90.94 kB / 1.037 GB, free: 15.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.37e-05/0.8619, allocations: 39.42 kB / 1.037 GB, free: 15.71 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.8619, allocations: 0 / 1.037 GB, free: 15.71 MB / 0.795 GB Notification: Performance of Templates: time 0.0127/0.8746, allocations: 7.354 MB / 1.045 GB, free: 8.453 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTableNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTableNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches