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.0009744/0.0009744, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009966/0.0009966, allocations: 169 kB / 24.28 MB, free: 276 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 1.001/1.001, allocations: 177.1 MB / 204.6 MB, free: 5.625 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.933/1.933, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.833e-06/1.833e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.79e-05, allocations: 3.375 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001117/0.001135, allocations: 0.7011 MB / 0.8122 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.002438, allocations: 1.379 MB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.736e-05/0.002495, allocations: 4 kB / 0.8136 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003986/0.002894, allocations: 197.8 kB / 0.8138 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.002972, allocations: 97.27 kB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.003434, allocations: 242.7 kB / 0.8141 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003526/0.003786, allocations: 487.8 kB / 0.8145 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.00383, allocations: 4 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002044/0.004034, allocations: 252.3 kB / 0.8148 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.00428, allocations: 217.6 kB / 0.815 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.004332, allocations: 24 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.004496, allocations: 105.1 kB / 0.8151 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002404/0.004736, allocations: 263.5 kB / 0.8154 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.004847, allocations: 119.7 kB / 0.8155 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.005221, allocations: 430.8 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.005223, allocations: 1.75 kB / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.01e-07/0.005223, allocations: 0 / 0.8159 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.005228, allocations: 0 / 0.8159 GB, free: 13.61 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.0006943/0.005923, allocations: 0.6651 MB / 0.8165 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.005957, allocations: 8.031 kB / 0.8166 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.006058, allocations: 36.8 kB / 0.8166 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.006368, allocations: 292.6 kB / 0.8169 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.006387, allocations: 16.31 kB / 0.8169 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.006429, allocations: 20.36 kB / 0.8169 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.006614, allocations: 131.9 kB / 0.817 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.006626, allocations: 12.11 kB / 0.817 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.006642, allocations: 4.359 kB / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.006649, allocations: 384 / 0.817 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.596e-05/0.006725, allocations: 51.84 kB / 0.8171 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.006989, allocations: 275.9 kB / 0.8174 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.00722, allocations: 202.7 kB / 0.8176 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.945e-05/0.007299, allocations: 63.09 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.007306, allocations: 4 kB / 0.8176 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003241/0.00763, allocations: 261.7 kB / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.007631, allocations: 0 / 0.8179 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18): time 0.0004993/0.00813, allocations: 377.7 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.008179, allocations: 113.4 kB / 0.8183 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.008439, allocations: 378.2 kB / 0.8187 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.983e-05/0.008479, allocations: 37.7 kB / 0.8187 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.008592, allocations: 211.5 kB / 0.8189 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.257e-05/0.008624, allocations: 35.75 kB / 0.819 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.008725, allocations: 115.3 kB / 0.8191 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.008864, allocations: 0.5313 MB / 0.8196 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.008927, allocations: 48.47 kB / 0.8196 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.009365, allocations: 1.065 MB / 0.8207 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.009553, allocations: 256.1 kB / 0.8209 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.009557, allocations: 4 kB / 0.8209 GB, free: 7.793 MB / 0.7761 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003042/0.009861, allocations: 278.8 kB / 0.8212 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.009875, allocations: 12.94 kB / 0.8212 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.00988, allocations: 160 / 0.8212 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.009895, allocations: 8 kB / 0.8212 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.01002, allocations: 40.92 kB / 0.8213 GB, free: 7.457 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.01003, allocations: 19.91 kB / 0.8213 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.01032, allocations: 61.31 kB / 0.8213 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.01033, allocations: 8 kB / 0.8213 GB, free: 7.371 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.000112/0.01045, allocations: 191.6 kB / 0.8215 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.01049, allocations: 36.53 kB / 0.8216 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.01053, allocations: 29.95 kB / 0.8216 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.01053, allocations: 1.875 kB / 0.8216 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.01054, allocations: 4 kB / 0.8216 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01054, allocations: 3.938 kB / 0.8216 GB, free: 7.102 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.01072, allocations: 224.5 kB / 0.8218 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01072, allocations: 0 / 0.8218 GB, free: 6.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-06/0.01073, allocations: 9.281 kB / 0.8218 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.01073, allocations: 0 / 0.8218 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.01075, allocations: 11.98 kB / 0.8218 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.01075, allocations: 4 kB / 0.8218 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.01075, allocations: 1 kB / 0.8218 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.01111, allocations: 366 kB / 0.8222 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.01114, allocations: 24.45 kB / 0.8222 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.01116, allocations: 0 / 0.8222 GB, free: 6.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.295e-05/0.01121, allocations: 10.56 kB / 0.8222 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.01126, allocations: 23.91 kB / 0.8222 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.01128, allocations: 12 kB / 0.8223 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001621/0.01144, allocations: 254.9 kB / 0.8225 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01144, allocations: 0 / 0.8225 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002601/0.01171, allocations: 75.94 kB / 0.8226 GB, free: 6.047 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.0001623/0.01187, allocations: 141.3 kB / 0.8227 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002548/0.01212, allocations: 193.5 kB / 0.8229 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01212, allocations: 0 / 0.8229 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.01222, allocations: 95.58 kB / 0.823 GB, free: 5.613 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001967/0.01242, allocations: 41.73 kB / 0.823 GB, free: 5.574 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.013, allocations: 490.6 kB / 0.8235 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.575e-05/0.01305, allocations: 96.3 kB / 0.8236 GB, free: 4.945 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.057e-05/0.01312, allocations: 34.12 kB / 0.8236 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.01317, allocations: 28.48 kB / 0.8236 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of SimCode: time 6.72e-07/0.01317, allocations: 0 / 0.8236 GB, free: 4.887 MB / 0.7761 GB Notification: Performance of Templates: time 0.006813/0.01999, allocations: 5.472 MB / 0.829 GB, free: 15.52 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.28940931498073]