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.000954/0.000954, 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.001233/0.001233, 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.9884/0.9884, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.999/1.999, allocations: 377.9 MB / 0.6236 GB, free: 8.562 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 2.876e-06/2.876e-06, allocations: 0 / 0.8115 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.73e-05/3.018e-05, allocations: 7.312 kB / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001513/0.001543, allocations: 0.6966 MB / 0.8122 GB, free: 1.016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00145/0.002993, allocations: 1.378 MB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.003059, allocations: 8.969 kB / 0.8136 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0004442/0.003503, allocations: 189.7 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.671e-05/0.00359, allocations: 104.9 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006857/0.004276, allocations: 238.8 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004433/0.004719, allocations: 492.5 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.902e-05/0.004758, allocations: 4 kB / 0.8146 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.004989, allocations: 248.5 kB / 0.8148 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003074/0.005296, allocations: 216.9 kB / 0.815 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.139e-05/0.005368, allocations: 25.83 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.005566, allocations: 99.78 kB / 0.8151 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.005833, allocations: 275.4 kB / 0.8154 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.005956, allocations: 115.8 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.006417, allocations: 422.8 kB / 0.8159 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.006422, allocations: 9.109 kB / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.006422, allocations: 0 / 0.8159 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.00643, allocations: 0 / 0.8159 GB, free: 13.24 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.0008288/0.007259, allocations: 0.6639 MB / 0.8166 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.007297, allocations: 9.844 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.007414, allocations: 36.78 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.007788, allocations: 296.5 kB / 0.8169 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.007807, allocations: 12.38 kB / 0.8169 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.007857, allocations: 20.38 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.00807, allocations: 134.7 kB / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.008079, allocations: 192 / 0.8171 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.666e-05/0.008096, allocations: 8.359 kB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.008104, allocations: 384 / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.534e-05/0.008179, allocations: 49.38 kB / 0.8171 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.008489, allocations: 279.9 kB / 0.8174 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.008745, allocations: 201.1 kB / 0.8176 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.921e-05/0.008824, allocations: 63.66 kB / 0.8176 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.534e-06/0.008832, allocations: 8.781 kB / 0.8176 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002702/0.009102, allocations: 256.2 kB / 0.8179 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.009103, allocations: 4 kB / 0.8179 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0005465/0.00965, allocations: 373.8 kB / 0.8182 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.009708, allocations: 119.4 kB / 0.8184 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.009983, allocations: 375 kB / 0.8187 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.01003, allocations: 41.69 kB / 0.8188 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.01014, allocations: 208 kB / 0.819 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.01018, allocations: 39.73 kB / 0.819 GB, free: 9.844 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.0103, allocations: 124.4 kB / 0.8191 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.01044, allocations: 0.5274 MB / 0.8196 GB, free: 9.176 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.0105, allocations: 43.97 kB / 0.8197 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005305/0.01103, allocations: 1.072 MB / 0.8207 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.01125, allocations: 252.1 kB / 0.821 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.01125, allocations: 0 / 0.821 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003288/0.01158, allocations: 280 kB / 0.8212 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.0116, allocations: 4 kB / 0.8212 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01161, allocations: 4.156 kB / 0.8212 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.01162, allocations: 8.688 kB / 0.8212 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.01177, allocations: 39.91 kB / 0.8213 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.01178, allocations: 23.3 kB / 0.8213 GB, free: 7.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.01208, allocations: 56.12 kB / 0.8214 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.01209, allocations: 12 kB / 0.8214 GB, free: 7.008 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.0001336/0.01222, allocations: 190.5 kB / 0.8215 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.233e-05/0.01227, allocations: 39.81 kB / 0.8216 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.592e-05/0.01231, allocations: 26.52 kB / 0.8216 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01231, allocations: 0 / 0.8216 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.01232, allocations: 4.562 kB / 0.8216 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01232, allocations: 9.266 kB / 0.8216 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.0125, allocations: 220.5 kB / 0.8218 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0125, allocations: 0 / 0.8218 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.01251, allocations: 11.98 kB / 0.8218 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01251, allocations: 0.7812 kB / 0.8218 GB, free: 6.473 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.01252, allocations: 4 kB / 0.8218 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.01253, allocations: 0.5625 kB / 0.8218 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.01253, allocations: 7.938 kB / 0.8219 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.01288, allocations: 360.5 kB / 0.8222 GB, free: 6.078 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.01292, allocations: 27.8 kB / 0.8222 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.01294, allocations: 8.641 kB / 0.8222 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.733e-05/0.013, allocations: 4 kB / 0.8222 GB, free: 6.039 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.01304, allocations: 17.61 kB / 0.8223 GB, free: 6.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.01306, allocations: 19.98 kB / 0.8223 GB, free: 6.004 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001667/0.01323, allocations: 247 kB / 0.8225 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01323, allocations: 0 / 0.8225 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003075/0.01354, allocations: 79.92 kB / 0.8226 GB, free: 5.684 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.0001949/0.01373, allocations: 147.2 kB / 0.8227 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002791/0.01401, allocations: 191.3 kB / 0.8229 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.01401, allocations: 0.9375 kB / 0.8229 GB, free: 5.344 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.923e-05/0.01411, allocations: 95.58 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.000212/0.01433, allocations: 33.62 kB / 0.823 GB, free: 5.215 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006401/0.01497, allocations: 493.1 kB / 0.8235 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.748e-05/0.01503, allocations: 96.3 kB / 0.8236 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.638e-05/0.01512, allocations: 40.27 kB / 0.8236 GB, free: 4.551 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.782e-05/0.01518, allocations: 27.94 kB / 0.8237 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.01518, allocations: 0 / 0.8237 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of Templates: time 0.007628/0.02281, allocations: 5.463 MB / 0.829 GB, free: 15.17 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.5552904908545315]