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.001296/0.001296, allocations: 81.95 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.001498/0.001498, allocations: 185.3 kB / 24.09 MB, free: 416 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 0.9437/0.9437, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.906/1.906, allocations: 377.9 MB / 0.624 GB, free: 8.402 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 3.516e-06/3.516e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.381e-05, allocations: 9.578 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002218/0.002252, allocations: 0.685 MB / 0.8127 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.004794, allocations: 1.371 MB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.972e-05/0.004894, allocations: 3.938 kB / 0.814 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.005503, allocations: 197.5 kB / 0.8142 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.005638, allocations: 113.2 kB / 0.8143 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009157/0.006554, allocations: 246.6 kB / 0.8146 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.007182, allocations: 488.8 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.00723, allocations: 4 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000384/0.007614, allocations: 249.1 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004433/0.008058, allocations: 195.6 kB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.344e-05/0.008151, allocations: 21.47 kB / 0.8155 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002799/0.008431, allocations: 95.83 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002716/0.008702, allocations: 207.6 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.008851, allocations: 107.8 kB / 0.8159 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000599/0.00945, allocations: 440 kB / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.009455, allocations: 0 / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.503e-06/0.009457, allocations: 0 / 0.8163 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.009462, allocations: 0 / 0.8163 GB, free: 13.08 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.0009972/0.01046, allocations: 0.6692 MB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.01051, allocations: 8.031 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.01065, allocations: 32.8 kB / 0.817 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.01122, allocations: 272.5 kB / 0.8172 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.01123, allocations: 8.375 kB / 0.8172 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.01127, allocations: 22.44 kB / 0.8173 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.01143, allocations: 129.1 kB / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.01144, allocations: 192 / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.01145, allocations: 384 / 0.8174 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.01145, allocations: 4.375 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.0115, allocations: 40.38 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.01172, allocations: 224.5 kB / 0.8176 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.01189, allocations: 166.4 kB / 0.8178 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.01194, allocations: 43.64 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.05e-06/0.01194, allocations: 4 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.01216, allocations: 243.6 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.01216, allocations: 1.125 kB / 0.8181 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0003948/0.01256, allocations: 313.3 kB / 0.8184 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.01261, allocations: 118.7 kB / 0.8185 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.01284, allocations: 367 kB / 0.8188 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.01288, allocations: 37.7 kB / 0.8189 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.01299, allocations: 212.9 kB / 0.8191 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.01302, allocations: 43.72 kB / 0.8191 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01312, allocations: 111.2 kB / 0.8192 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.01326, allocations: 0.5351 MB / 0.8198 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.01331, allocations: 37.06 kB / 0.8198 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007556/0.01406, allocations: 1.044 MB / 0.8208 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.01423, allocations: 235.1 kB / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01424, allocations: 0 / 0.821 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002548/0.01449, allocations: 236.3 kB / 0.8213 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01451, allocations: 8 kB / 0.8213 GB, free: 7.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.01452, allocations: 9.594 kB / 0.8213 GB, free: 7.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.01453, allocations: 4 kB / 0.8213 GB, free: 7.312 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.01466, allocations: 43.91 kB / 0.8213 GB, free: 7.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01466, allocations: 7.938 kB / 0.8213 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.01494, allocations: 69.2 kB / 0.8214 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.01495, allocations: 9.344 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.0001275/0.01508, allocations: 191.2 kB / 0.8216 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.391e-05/0.01511, allocations: 36.47 kB / 0.8216 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.01515, allocations: 29.89 kB / 0.8217 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.01516, allocations: 4.656 kB / 0.8217 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01516, allocations: 0 / 0.8217 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01516, allocations: 7.234 kB / 0.8217 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.01531, allocations: 181 kB / 0.8218 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-06/0.01531, allocations: 3.984 kB / 0.8218 GB, free: 6.711 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.426e-06/0.01532, allocations: 4 kB / 0.8218 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.01532, allocations: 0 / 0.8218 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.01533, allocations: 7.938 kB / 0.8219 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01533, allocations: 4 kB / 0.8219 GB, free: 6.695 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01533, allocations: 3.984 kB / 0.8219 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.01561, allocations: 315.5 kB / 0.8222 GB, free: 6.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.782e-05/0.01564, allocations: 30.16 kB / 0.8222 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.01566, allocations: 4 kB / 0.8222 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.794e-05/0.01571, allocations: 4 kB / 0.8222 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.01574, allocations: 19.97 kB / 0.8222 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.01576, allocations: 11.94 kB / 0.8222 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000131/0.01589, allocations: 238.9 kB / 0.8225 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01589, allocations: 0.9375 kB / 0.8225 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002777/0.01617, allocations: 79.92 kB / 0.8225 GB, free: 5.973 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.0001881/0.01636, allocations: 142.7 kB / 0.8227 GB, free: 5.828 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.01655, allocations: 157.7 kB / 0.8228 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.01656, allocations: 4 kB / 0.8228 GB, free: 5.668 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.95e-05/0.01663, allocations: 72.98 kB / 0.8229 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.01683, allocations: 40.72 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.0005466/0.01737, allocations: 471.1 kB / 0.8234 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.726e-05/0.01743, allocations: 97.95 kB / 0.8235 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.596e-05/0.01751, allocations: 35.34 kB / 0.8235 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001695/0.01767, allocations: 150.1 kB / 0.8237 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.01768, allocations: 0 / 0.8237 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of Templates: time 0.007837/0.02551, allocations: 5.803 MB / 0.8293 GB, free: 15.08 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.248096392024308]