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.001378/0.001378, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001451/0.001451, allocations: 161 kB / 23.82 MB, free: 0.75 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 0.9691/0.9691, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.813/1.813, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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 1.433e-06/1.433e-06, allocations: 0 / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.14e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTableNegativeStartTime): time 0.001218/0.001239, allocations: 0.7015 MB / 0.8122 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.002587, allocations: 1.378 MB / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.002643, allocations: 0 / 0.8136 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.003068, allocations: 190.3 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.898e-05/0.003147, allocations: 110.1 kB / 0.8139 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.003663, allocations: 236.5 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003779/0.004041, allocations: 487.8 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.705e-05/0.004078, allocations: 5.656 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.004279, allocations: 251.6 kB / 0.8148 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.004536, allocations: 224.3 kB / 0.815 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.97e-05/0.004596, allocations: 25.19 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.00478, allocations: 95.84 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.00502, allocations: 271.4 kB / 0.8154 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.005124, allocations: 112.9 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.005502, allocations: 434.7 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.005504, allocations: 3.938 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.52e-07/0.005505, allocations: 1.375 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.005509, allocations: 0 / 0.8159 GB, free: 13.25 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.0006945/0.006203, allocations: 0.6647 MB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.006236, allocations: 12.03 kB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.006338, allocations: 32.8 kB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002957/0.006633, allocations: 296.5 kB / 0.8169 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.006648, allocations: 13.53 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.006693, allocations: 24.38 kB / 0.8169 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.006871, allocations: 137.2 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.006878, allocations: 192 / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.00689, allocations: 0.9688 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.006897, allocations: 1.125 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.043e-05/0.006967, allocations: 55.83 kB / 0.8171 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.007235, allocations: 284.8 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.007457, allocations: 195 kB / 0.8176 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.624e-05/0.007534, allocations: 67.09 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.15e-06/0.007539, allocations: 4 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/0.008034, allocations: 252.5 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.092e-06/0.008035, allocations: 2.344 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004827/0.008518, allocations: 377.8 kB / 0.8182 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.008569, allocations: 114.8 kB / 0.8184 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.008819, allocations: 382.2 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.00886, allocations: 33.7 kB / 0.8188 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.008968, allocations: 211.5 kB / 0.819 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.009003, allocations: 49.67 kB / 0.819 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.009105, allocations: 115.3 kB / 0.8191 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.00923, allocations: 0.5235 MB / 0.8196 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.088e-05/0.009291, allocations: 51.95 kB / 0.8197 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.009741, allocations: 1.068 MB / 0.8207 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.009939, allocations: 253.4 kB / 0.821 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.009942, allocations: 4 kB / 0.821 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000297/0.01024, allocations: 271.1 kB / 0.8212 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01025, allocations: 8 kB / 0.8212 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01026, allocations: 4 kB / 0.8212 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01027, allocations: 4 kB / 0.8212 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.0104, allocations: 45.08 kB / 0.8213 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.01041, allocations: 7.938 kB / 0.8213 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.01069, allocations: 65.14 kB / 0.8213 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.01071, allocations: 15.98 kB / 0.8214 GB, free: 7.016 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.0001136/0.01082, allocations: 191.6 kB / 0.8215 GB, free: 6.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.01086, allocations: 40.89 kB / 0.8216 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.01089, allocations: 25.95 kB / 0.8216 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.0109, allocations: 4 kB / 0.8216 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.0109, allocations: 0.875 kB / 0.8216 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.0109, allocations: 3.938 kB / 0.8216 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.01106, allocations: 226 kB / 0.8218 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01106, allocations: 7.922 kB / 0.8218 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.336e-06/0.01107, allocations: 7.938 kB / 0.8218 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01107, allocations: 0 / 0.8218 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01108, allocations: 5.719 kB / 0.8219 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01109, allocations: 4 kB / 0.8219 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.01109, allocations: 3.984 kB / 0.8219 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.0114, allocations: 361 kB / 0.8222 GB, free: 6.082 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.01142, allocations: 27.78 kB / 0.8222 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.01144, allocations: 5.344 kB / 0.8222 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.01149, allocations: 4 kB / 0.8222 GB, free: 6.047 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.01153, allocations: 23.91 kB / 0.8223 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.909e-05/0.01155, allocations: 12.72 kB / 0.8223 GB, free: 6.012 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001435/0.0117, allocations: 247 kB / 0.8225 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0117, allocations: 2.312 kB / 0.8225 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002498/0.01195, allocations: 75.92 kB / 0.8226 GB, free: 5.695 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.0001435/0.01209, allocations: 143.7 kB / 0.8227 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002453/0.01233, allocations: 201.2 kB / 0.8229 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.01234, allocations: 1.219 kB / 0.8229 GB, free: 5.348 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.01243, allocations: 100.1 kB / 0.823 GB, free: 5.246 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.01262, allocations: 36.59 kB / 0.823 GB, free: 5.211 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.01313, allocations: 490.6 kB / 0.8235 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.17e-05/0.01318, allocations: 92.31 kB / 0.8236 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.01325, allocations: 33.94 kB / 0.8236 GB, free: 4.555 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.055e-05/0.0133, allocations: 36.48 kB / 0.8237 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of SimCode: time 3.71e-07/0.0133, allocations: 0 / 0.8237 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of Templates: time 0.007046/0.02035, allocations: 5.816 MB / 0.8294 GB, free: 14.82 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.070940799079835]