Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.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.001413/0.001413, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00166/0.00166, allocations: 169.3 kB / 24.86 MB, free: 8.836 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.017/1.017, allocations: 177.2 MB / 205.3 MB, free: 5.512 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.882/1.882, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.TimeTable,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.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,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.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.8128 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.788e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001603/0.001631, allocations: 0.7027 MB / 0.8135 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.003134, allocations: 1.37 MB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.003208, allocations: 3.938 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004299/0.003638, allocations: 198.6 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.194e-05/0.00373, allocations: 105.2 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005014/0.004231, allocations: 241.5 kB / 0.8153 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003971/0.004628, allocations: 493.4 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.004673, allocations: 4 kB / 0.8158 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002441/0.004917, allocations: 256.9 kB / 0.8161 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.005143, allocations: 187.7 kB / 0.8162 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.751e-05/0.005191, allocations: 21.88 kB / 0.8163 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.005357, allocations: 103.8 kB / 0.8164 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.005546, allocations: 203.6 kB / 0.8165 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.005658, allocations: 115.8 kB / 0.8167 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.006138, allocations: 426.8 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.006143, allocations: 5.078 kB / 0.8171 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.234e-06/0.006145, allocations: 4 kB / 0.8171 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.006149, allocations: 4.875 kB / 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.0007236/0.006873, allocations: 0.6608 MB / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.006912, allocations: 8.031 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.641e-05/0.007008, allocations: 36.78 kB / 0.8178 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.007279, allocations: 264.5 kB / 0.818 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.007298, allocations: 20.36 kB / 0.818 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.121e-05/0.007339, allocations: 21.91 kB / 0.8181 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.007493, allocations: 117.1 kB / 0.8182 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.007501, allocations: 192 / 0.8182 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.007516, allocations: 4.375 kB / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.007522, allocations: 1.875 kB / 0.8182 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.103e-05/0.007573, allocations: 31.91 kB / 0.8182 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002418/0.007815, allocations: 232.5 kB / 0.8184 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.00814, allocations: 157.7 kB / 0.8186 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.008195, allocations: 59.84 kB / 0.8186 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-06/0.008199, allocations: 0 / 0.8186 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.008418, allocations: 237.5 kB / 0.8189 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.008419, allocations: 0 / 0.8189 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004249/0.008844, allocations: 314.1 kB / 0.8192 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.008902, allocations: 115.5 kB / 0.8193 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.009127, allocations: 370.1 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.009171, allocations: 42.23 kB / 0.8197 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.009285, allocations: 208.6 kB / 0.8199 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.009322, allocations: 47.67 kB / 0.8199 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.009434, allocations: 123.2 kB / 0.82 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.009572, allocations: 0.5273 MB / 0.8205 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.009615, allocations: 32.5 kB / 0.8206 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/0.01006, allocations: 1.05 MB / 0.8216 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005163/0.01058, allocations: 227 kB / 0.8218 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.01058, allocations: 4 kB / 0.8218 GB, free: 7.543 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003504/0.01093, allocations: 243.9 kB / 0.8221 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.01095, allocations: 4 kB / 0.8221 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01096, allocations: 5.344 kB / 0.8221 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01097, allocations: 11.44 kB / 0.8221 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.01112, allocations: 35.92 kB / 0.8221 GB, free: 7.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.01113, allocations: 11.92 kB / 0.8221 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.0115, allocations: 63.89 kB / 0.8222 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.01152, allocations: 12 kB / 0.8222 GB, free: 7.164 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.0001539/0.01167, allocations: 186.5 kB / 0.8224 GB, free: 6.973 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.01172, allocations: 36.39 kB / 0.8224 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.01177, allocations: 29.95 kB / 0.8224 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01177, allocations: 4.531 kB / 0.8224 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.01178, allocations: 0.6562 kB / 0.8224 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01178, allocations: 0 / 0.8224 GB, free: 6.902 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.01197, allocations: 182.3 kB / 0.8226 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.01197, allocations: 0 / 0.8226 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.395e-05/0.01199, allocations: 4 kB / 0.8226 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.01199, allocations: 8.719 kB / 0.8226 GB, free: 6.688 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.01201, allocations: 11.98 kB / 0.8226 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.01201, allocations: 0.5625 kB / 0.8226 GB, free: 6.676 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.01201, allocations: 3.938 kB / 0.8226 GB, free: 6.672 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.01238, allocations: 318.9 kB / 0.8229 GB, free: 6.332 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.01242, allocations: 27.88 kB / 0.823 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.01245, allocations: 8 kB / 0.823 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.01252, allocations: 4.641 kB / 0.823 GB, free: 6.293 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.01256, allocations: 15.98 kB / 0.823 GB, free: 6.277 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.01259, allocations: 21.7 kB / 0.823 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001615/0.01275, allocations: 234.9 kB / 0.8232 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01275, allocations: 0 / 0.8232 GB, free: 6.027 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003549/0.0131, allocations: 75.94 kB / 0.8233 GB, free: 5.953 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.0002049/0.01331, allocations: 155.1 kB / 0.8235 GB, free: 5.797 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.01356, allocations: 159.3 kB / 0.8236 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01357, allocations: 0.9375 kB / 0.8236 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.531e-05/0.01365, allocations: 63.59 kB / 0.8237 GB, free: 5.57 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.0139, allocations: 41.61 kB / 0.8237 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.01452, allocations: 471.7 kB / 0.8242 GB, free: 5.035 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.409e-05/0.01458, allocations: 92.3 kB / 0.8243 GB, free: 4.926 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.05e-05/0.01467, allocations: 36.12 kB / 0.8243 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001998/0.01487, allocations: 145.6 kB / 0.8244 GB, free: 4.754 MB / 0.7761 GB Notification: Performance of SimCode: time 8.91e-07/0.01487, allocations: 4 kB / 0.8244 GB, free: 4.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.00923/0.0241, allocations: 5.896 MB / 0.8302 GB, free: 14.97 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.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.441012309864163]