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.001015/0.001015, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001242/0.001242, allocations: 167.4 kB / 24.86 MB, free: 9.285 MB / 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.939/1.939, allocations: 377.9 MB / 0.6247 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.863e-06/1.863e-06, allocations: 0 / 0.8128 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.376e-05/2.562e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001478/0.001503, allocations: 0.6821 MB / 0.8135 GB, free: 0.75 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.002996, allocations: 1.378 MB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.126e-05/0.003067, allocations: 5.031 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004949/0.003562, allocations: 199.2 kB / 0.815 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.502e-05/0.003657, allocations: 107.7 kB / 0.8151 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005512/0.004208, allocations: 242.1 kB / 0.8153 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000417/0.004625, allocations: 487.8 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.82e-05/0.004664, allocations: 5.344 kB / 0.8158 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.004888, allocations: 251.7 kB / 0.816 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002514/0.005139, allocations: 196.1 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.005189, allocations: 25.88 kB / 0.8163 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.005373, allocations: 95.83 kB / 0.8163 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.005593, allocations: 203.6 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.005695, allocations: 111.8 kB / 0.8166 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.006111, allocations: 430.8 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.00612, allocations: 6.078 kB / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.713e-06/0.006122, allocations: 0 / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.006129, allocations: 0 / 0.8171 GB, free: 13.05 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.0008191/0.006948, allocations: 0.6629 MB / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.006986, allocations: 12.53 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.007093, allocations: 37.31 kB / 0.8178 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.007382, allocations: 264.5 kB / 0.818 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.007402, allocations: 17.08 kB / 0.818 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.007446, allocations: 20.38 kB / 0.818 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.007608, allocations: 121.7 kB / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.007615, allocations: 1.719 kB / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.007627, allocations: 384 / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.007633, allocations: 4.375 kB / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.007682, allocations: 31.91 kB / 0.8182 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.007918, allocations: 233 kB / 0.8184 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.008101, allocations: 162.5 kB / 0.8186 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.008159, allocations: 55.09 kB / 0.8186 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.008164, allocations: 5.156 kB / 0.8186 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.008382, allocations: 239.1 kB / 0.8189 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.008383, allocations: 0 / 0.8189 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004283/0.008811, allocations: 314.5 kB / 0.8192 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.408e-05/0.008875, allocations: 118.7 kB / 0.8193 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.009116, allocations: 371.3 kB / 0.8196 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.333e-05/0.009159, allocations: 33.7 kB / 0.8197 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.009269, allocations: 215.5 kB / 0.8199 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.009304, allocations: 40.58 kB / 0.8199 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.009419, allocations: 119.2 kB / 0.82 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.009575, allocations: 0.5327 MB / 0.8205 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.636e-05/0.009622, allocations: 35.97 kB / 0.8206 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004595/0.01008, allocations: 1.044 MB / 0.8216 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01025, allocations: 236.2 kB / 0.8218 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.01026, allocations: 3.938 kB / 0.8218 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002623/0.01052, allocations: 235.2 kB / 0.822 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.01053, allocations: 8 kB / 0.8221 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.01054, allocations: 4.688 kB / 0.8221 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.01055, allocations: 5.344 kB / 0.8221 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001295/0.01068, allocations: 43.92 kB / 0.8221 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.01069, allocations: 11.92 kB / 0.8221 GB, free: 7.227 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/0.01098, allocations: 60.5 kB / 0.8222 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.01099, allocations: 16 kB / 0.8222 GB, free: 7.152 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.0001265/0.01112, allocations: 187.1 kB / 0.8224 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.306e-05/0.01116, allocations: 43.8 kB / 0.8224 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.0112, allocations: 25.95 kB / 0.8224 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.0112, allocations: 0 / 0.8224 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.01121, allocations: 4 kB / 0.8224 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.01121, allocations: 0 / 0.8224 GB, free: 6.891 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001658/0.01138, allocations: 181 kB / 0.8226 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01138, allocations: 0 / 0.8226 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.01139, allocations: 8 kB / 0.8226 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01139, allocations: 2.312 kB / 0.8226 GB, free: 6.68 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.01141, allocations: 7.984 kB / 0.8226 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.01141, allocations: 3.938 kB / 0.8226 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01141, allocations: 4 kB / 0.8226 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003112/0.01172, allocations: 317.8 kB / 0.8229 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.379e-05/0.01175, allocations: 31.97 kB / 0.823 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.01178, allocations: 0.9375 kB / 0.823 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.01183, allocations: 11.98 kB / 0.823 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.01187, allocations: 19.97 kB / 0.823 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.01189, allocations: 13.11 kB / 0.823 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001429/0.01204, allocations: 238.9 kB / 0.8232 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01204, allocations: 4 kB / 0.8232 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002929/0.01233, allocations: 73.03 kB / 0.8233 GB, free: 5.941 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.0001852/0.01252, allocations: 152.7 kB / 0.8235 GB, free: 5.785 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01272, allocations: 158.3 kB / 0.8236 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.01272, allocations: 0 / 0.8236 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.823e-05/0.01279, allocations: 67.59 kB / 0.8237 GB, free: 5.559 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.01299, allocations: 42.8 kB / 0.8237 GB, free: 5.52 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005185/0.01351, allocations: 466.6 kB / 0.8242 GB, free: 5.027 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.639e-05/0.01356, allocations: 96.3 kB / 0.8243 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.551e-05/0.01364, allocations: 36.06 kB / 0.8243 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.0138, allocations: 138.1 kB / 0.8244 GB, free: 4.746 MB / 0.7761 GB Notification: Performance of SimCode: time 9.41e-07/0.0138, allocations: 5.219 kB / 0.8244 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of Templates: time 0.008986/0.02279, allocations: 5.927 MB / 0.8302 GB, free: 14.93 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.453739531803876]