Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.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.00142/0.00142, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001626/0.001626, allocations: 181 kB / 24.08 MB, free: 424 kB / 18.57 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.877/1.877, allocations: 377.9 MB / 0.6239 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intTimTab.y.[0-9,]+.|intTimTab1.y.[0-9,]+.|tabOneRow.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.906e-06/2.906e-06, allocations: 0 / 0.812 GB, free: 1.453 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.685e-05/2.976e-05, allocations: 2.312 kB / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.002338/0.002368, allocations: 0.6895 MB / 0.8127 GB, free: 0.7773 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002194/0.004562, allocations: 1.372 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.401e-05/0.004646, allocations: 4 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.005207, allocations: 204.9 kB / 0.8142 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006072/0.005814, allocations: 106.5 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001005/0.006819, allocations: 245.8 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000606/0.007425, allocations: 491.7 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.007472, allocations: 7.984 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004146/0.007887, allocations: 247.7 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003788/0.008265, allocations: 188.9 kB / 0.8155 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.008375, allocations: 17.66 kB / 0.8155 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.008666, allocations: 99.83 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.008963, allocations: 203.6 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.009121, allocations: 115.7 kB / 0.8159 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0006148/0.009736, allocations: 430.8 kB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.009741, allocations: 0.625 kB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.009742, allocations: 0.9062 kB / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.009751, allocations: 0 / 0.8163 GB, free: 13.09 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001087/0.01084, allocations: 0.6679 MB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.01088, allocations: 12.03 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001572/0.01104, allocations: 38.17 kB / 0.817 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.01147, allocations: 272.5 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.0115, allocations: 12.38 kB / 0.8173 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.01157, allocations: 16.38 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.01183, allocations: 126.9 kB / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.01184, allocations: 192 / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.01186, allocations: 384 / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.01186, allocations: 384 / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.01194, allocations: 32.95 kB / 0.8174 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.0123, allocations: 240.5 kB / 0.8177 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.01256, allocations: 154 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.937e-05/0.01264, allocations: 51.09 kB / 0.8178 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.01265, allocations: 12.44 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.01297, allocations: 230.6 kB / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.01297, allocations: 0 / 0.8181 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.000521/0.01349, allocations: 325.9 kB / 0.8184 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.01355, allocations: 114.8 kB / 0.8185 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.01378, allocations: 366.2 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.142e-05/0.01382, allocations: 38.23 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01394, allocations: 214 kB / 0.8191 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.01398, allocations: 43.72 kB / 0.8191 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.01409, allocations: 119.2 kB / 0.8192 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01423, allocations: 0.5312 MB / 0.8198 GB, free: 9.262 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.01427, allocations: 31.98 kB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/0.01476, allocations: 1.06 MB / 0.8208 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.01518, allocations: 227.2 kB / 0.821 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01519, allocations: 0 / 0.821 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002649/0.01545, allocations: 237.4 kB / 0.8213 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.01547, allocations: 8 kB / 0.8213 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.954e-06/0.01547, allocations: 4 kB / 0.8213 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.01549, allocations: 4 kB / 0.8213 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.01562, allocations: 43.91 kB / 0.8213 GB, free: 7.266 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01562, allocations: 5.812 kB / 0.8213 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.0159, allocations: 67.95 kB / 0.8214 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.01592, allocations: 8 kB / 0.8214 GB, free: 7.188 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001432/0.01606, allocations: 191.5 kB / 0.8216 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.01611, allocations: 40.88 kB / 0.8216 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.01616, allocations: 25.95 kB / 0.8217 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01616, allocations: 0 / 0.8217 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01617, allocations: 5.031 kB / 0.8217 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01617, allocations: 3.984 kB / 0.8217 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.01633, allocations: 181 kB / 0.8218 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.01633, allocations: 1.125 kB / 0.8218 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.153e-05/0.01634, allocations: 7.984 kB / 0.8218 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01635, allocations: 0 / 0.8218 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.01636, allocations: 4.781 kB / 0.8218 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01636, allocations: 0 / 0.8218 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01636, allocations: 5.25 kB / 0.8219 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.01665, allocations: 324.2 kB / 0.8222 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01668, allocations: 27.73 kB / 0.8222 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.021e-05/0.0167, allocations: 7.984 kB / 0.8222 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.121e-05/0.01675, allocations: 5.969 kB / 0.8222 GB, free: 6.312 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.01678, allocations: 19.97 kB / 0.8222 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.0168, allocations: 8 kB / 0.8222 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001206/0.01692, allocations: 234.9 kB / 0.8225 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01692, allocations: 4 kB / 0.8225 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002847/0.0172, allocations: 77.27 kB / 0.8225 GB, free: 5.977 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001786/0.01738, allocations: 155.8 kB / 0.8227 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002043/0.01759, allocations: 161.8 kB / 0.8228 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01759, allocations: 0 / 0.8228 GB, free: 5.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.817e-05/0.01766, allocations: 67.58 kB / 0.8229 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.01785, allocations: 38.59 kB / 0.8229 GB, free: 5.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.01844, allocations: 470.7 kB / 0.8234 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.0185, allocations: 88.91 kB / 0.8235 GB, free: 4.953 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.383e-05/0.01858, allocations: 50.17 kB / 0.8235 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.01875, allocations: 146.1 kB / 0.8237 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.01875, allocations: 4 kB / 0.8237 GB, free: 4.762 MB / 0.7761 GB Notification: Performance of Templates: time 0.007805/0.02655, allocations: 5.813 MB / 0.8293 GB, free: 15.06 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTableNegativeStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.284334958996624]