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.001518/0.001518, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001099/0.001099, allocations: 165 kB / 24.17 MB, free: 332 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.014/1.014, allocations: 177.2 MB / 204.6 MB, free: 4.973 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.888/1.888, allocations: 377.9 MB / 0.624 GB, free: 8.352 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.573e-06/1.573e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.552e-05, allocations: 5.391 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001119/0.001135, allocations: 0.6835 MB / 0.7607 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.002488, allocations: 1.389 MB / 0.762 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.002537, allocations: 4.938 kB / 0.7621 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003893/0.002927, allocations: 194.3 kB / 0.7622 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.003012, allocations: 120.8 kB / 0.7624 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.003443, allocations: 236.8 kB / 0.7626 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000351/0.003794, allocations: 484 kB / 0.763 GB, free: 3.543 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.00383, allocations: 8.609 kB / 0.763 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.004021, allocations: 248.2 kB / 0.7633 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.004214, allocations: 169.3 kB / 0.7634 GB, free: 3.129 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.004255, allocations: 20 kB / 0.7635 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.004406, allocations: 103.8 kB / 0.7636 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001586/0.004564, allocations: 176.6 kB / 0.7637 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.004661, allocations: 119.7 kB / 0.7638 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.005003, allocations: 426.8 kB / 0.7643 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.473e-06/0.005005, allocations: 4.688 kB / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005006, allocations: 0 / 0.7643 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.00501, allocations: 4.734 kB / 0.7643 GB, free: 2.293 MB / 0.7136 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.0005752/0.005585, allocations: 0.5075 MB / 0.7648 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.005613, allocations: 14.22 kB / 0.7648 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.005677, allocations: 28.89 kB / 0.7648 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.005926, allocations: 249.8 kB / 0.765 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.00594, allocations: 12.38 kB / 0.765 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.005982, allocations: 20.38 kB / 0.7651 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001356/0.006117, allocations: 107.5 kB / 0.7652 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.006123, allocations: 2 kB / 0.7652 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.006135, allocations: 4.375 kB / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.00614, allocations: 384 / 0.7652 GB, free: 1.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.801e-05/0.006188, allocations: 40.39 kB / 0.7652 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.006405, allocations: 131.2 kB / 0.7653 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001537/0.006559, allocations: 137 kB / 0.7655 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.78e-05/0.006607, allocations: 42.61 kB / 0.7655 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.478e-06/0.006611, allocations: 7.938 kB / 0.7655 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.006789, allocations: 211.3 kB / 0.7657 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 9.02e-07/0.00679, allocations: 4 kB / 0.7657 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0002509/0.007041, allocations: 206.2 kB / 0.7659 GB, free: 444 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.007089, allocations: 110.8 kB / 0.766 GB, free: 308 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.007247, allocations: 270.9 kB / 0.7663 GB, free: 24 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.007295, allocations: 41.7 kB / 0.7663 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.92e-05/0.007354, allocations: 125.3 kB / 0.7664 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.007383, allocations: 39.73 kB / 0.7665 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.007473, allocations: 94.86 kB / 0.7666 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.262e-05/0.007555, allocations: 350.7 kB / 0.7669 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.007594, allocations: 38.75 kB / 0.7669 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.007952, allocations: 0.9406 MB / 0.7679 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.008087, allocations: 196.1 kB / 0.7681 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.00809, allocations: 0.5625 kB / 0.7681 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0001928/0.008283, allocations: 212.7 kB / 0.7683 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.008295, allocations: 10.19 kB / 0.7683 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.008302, allocations: 7.109 kB / 0.7683 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.008317, allocations: 8 kB / 0.7683 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.008425, allocations: 39.92 kB / 0.7683 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.00843, allocations: 4 kB / 0.7683 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.00868, allocations: 56.19 kB / 0.7684 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.561e-05/0.008696, allocations: 19.92 kB / 0.7684 GB, free: 13.51 MB / 0.7292 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.0001108/0.008807, allocations: 151.5 kB / 0.7685 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.008833, allocations: 24.88 kB / 0.7686 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.41e-05/0.008867, allocations: 25.95 kB / 0.7686 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.00887, allocations: 4 kB / 0.7686 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.008872, allocations: 0.875 kB / 0.7686 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.008876, allocations: 4 kB / 0.7686 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.008985, allocations: 136 kB / 0.7687 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.008986, allocations: 0 / 0.7687 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.566e-06/0.008994, allocations: 8 kB / 0.7687 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.008996, allocations: 0 / 0.7687 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.009004, allocations: 7.984 kB / 0.7687 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.009005, allocations: 0 / 0.7687 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.009006, allocations: 0 / 0.7687 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001603/0.009167, allocations: 196.7 kB / 0.7689 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.009185, allocations: 19.86 kB / 0.7689 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.009204, allocations: 4 kB / 0.769 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.425e-05/0.009248, allocations: 4 kB / 0.769 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.009281, allocations: 19.97 kB / 0.769 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.009296, allocations: 8 kB / 0.769 GB, free: 12.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.161e-05/0.009377, allocations: 108.6 kB / 0.7691 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009377, allocations: 0.9062 kB / 0.7691 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002073/0.009585, allocations: 79.92 kB / 0.7692 GB, free: 12.67 MB / 0.7292 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.0001428/0.009727, allocations: 123.9 kB / 0.7693 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.00991, allocations: 160.1 kB / 0.7694 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.009912, allocations: 0 / 0.7694 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.098e-05/0.009973, allocations: 64.75 kB / 0.7695 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.0101, allocations: 36.53 kB / 0.7695 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.01059, allocations: 460.5 kB / 0.77 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01065, allocations: 84.31 kB / 0.77 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.752e-05/0.01073, allocations: 37.06 kB / 0.7701 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.01089, allocations: 115.3 kB / 0.7702 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of SimCode: time 8.01e-07/0.01089, allocations: 0 / 0.7702 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of Templates: time 0.006774/0.01767, allocations: 5.843 MB / 0.7759 GB, free: 5.949 MB / 0.7292 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.224532241001725]