Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001414/0.001414, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001822/0.001822, allocations: 161.4 kB / 24.16 MB, free: 336 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.008/1.008, allocations: 177.2 MB / 204.6 MB, free: 5.469 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.884/1.884, allocations: 377.9 MB / 0.624 GB, free: 8.387 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.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.984e-05/4.201e-05, allocations: 6.312 kB / 0.76 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.003615/0.003657, allocations: 1.268 MB / 0.7612 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0003822/0.00404, allocations: 49.27 kB / 0.7613 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.004091, allocations: 4.969 kB / 0.7613 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.338e-05/0.004154, allocations: 4.812 kB / 0.7613 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.004356, allocations: 8.844 kB / 0.7613 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002568/0.004613, allocations: 9.953 kB / 0.7613 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.004753, allocations: 15.09 kB / 0.7613 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.898e-05/0.004812, allocations: 4 kB / 0.7613 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.004894, allocations: 14.77 kB / 0.7613 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.432e-05/0.004989, allocations: 5.406 kB / 0.7613 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.629e-05/0.005015, allocations: 0.5312 kB / 0.7613 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.00515, allocations: 15.92 kB / 0.7614 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.005292, allocations: 51.44 kB / 0.7614 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.005348, allocations: 24.7 kB / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.005555, allocations: 65.45 kB / 0.7615 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.00556, allocations: 2.062 kB / 0.7615 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.884e-06/0.005561, allocations: 0 / 0.7615 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.005568, allocations: 0 / 0.7615 GB, free: 5.16 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005557/0.006124, allocations: 320.2 kB / 0.7618 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.006186, allocations: 19.89 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.217e-05/0.006268, allocations: 80.22 kB / 0.7619 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.006474, allocations: 211.1 kB / 0.7621 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.168e-05/0.006556, allocations: 158.9 kB / 0.7622 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.006651, allocations: 154.9 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.006947, allocations: 105.1 kB / 0.7625 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.006984, allocations: 76.53 kB / 0.7626 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.007057, allocations: 150.6 kB / 0.7627 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.378e-05/0.00712, allocations: 154.6 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.301e-05/0.007183, allocations: 155.4 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003086/0.007492, allocations: 365.2 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.007613, allocations: 170.2 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.28e-05/0.007656, allocations: 80.14 kB / 0.7636 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.00769, allocations: 79.33 kB / 0.7637 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.183e-05/0.007752, allocations: 110.5 kB / 0.7638 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.294e-06/0.007754, allocations: 7.938 kB / 0.7638 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.007857, allocations: 35.41 kB / 0.7638 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.521e-05/0.007942, allocations: 130.7 kB / 0.7639 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.00818, allocations: 206.3 kB / 0.7641 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.87e-05/0.008199, allocations: 25.7 kB / 0.7642 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.008273, allocations: 105.1 kB / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.008276, allocations: 0 / 0.7643 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.008339, allocations: 37.66 kB / 0.7643 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000497/0.008836, allocations: 327.7 kB / 0.7646 GB, free: 1.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.00891, allocations: 14.83 kB / 0.7646 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.174e-05/0.008942, allocations: 12 kB / 0.7646 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.009049, allocations: 49.05 kB / 0.7647 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.009053, allocations: 4 kB / 0.7647 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001941/0.009247, allocations: 80.3 kB / 0.7648 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.009268, allocations: 8 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.009277, allocations: 0.75 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.009298, allocations: 0 / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.434e-06/0.009306, allocations: 0.5 kB / 0.7648 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.009312, allocations: 6.062 kB / 0.7648 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.009366, allocations: 15.84 kB / 0.7648 GB, free: 1.625 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.009389, allocations: 4 kB / 0.7648 GB, free: 1.621 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.000142/0.009531, allocations: 199.9 kB / 0.765 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.024e-05/0.009602, allocations: 108.9 kB / 0.7651 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.161e-05/0.009673, allocations: 118 kB / 0.7652 GB, free: 1.176 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-05/0.009742, allocations: 176.3 kB / 0.7654 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-05/0.009815, allocations: 191.6 kB / 0.7656 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.092e-05/0.009886, allocations: 176.3 kB / 0.7657 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002488/0.01014, allocations: 341.3 kB / 0.766 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.532e-05/0.01018, allocations: 109 kB / 0.7662 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.01022, allocations: 104.9 kB / 0.7663 GB, free: 44 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-05/0.01031, allocations: 176.3 kB / 0.7664 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.01039, allocations: 180.3 kB / 0.7666 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-05/0.01046, allocations: 180.2 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.989e-05/0.01052, allocations: 180.2 kB / 0.7669 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.01071, allocations: 318.2 kB / 0.7672 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.01078, allocations: 120.9 kB / 0.7674 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.502e-05/0.01086, allocations: 184.2 kB / 0.7675 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.01095, allocations: 101 kB / 0.7676 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/0.01104, allocations: 180.2 kB / 0.7678 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-05/0.01109, allocations: 109 kB / 0.7679 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.456e-05/0.01118, allocations: 62.95 kB / 0.768 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.01118, allocations: 0 / 0.768 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002797/0.01146, allocations: 19.94 kB / 0.768 GB, free: 14.18 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0002413/0.0117, allocations: 160.9 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.01183, allocations: 29.61 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.01183, allocations: 3.938 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-06/0.01184, allocations: 2.375 kB / 0.7682 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.0122, allocations: 464.5 kB / 0.7686 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004825/0.01268, allocations: 290.2 kB / 0.7689 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.64e-05/0.01275, allocations: 71.31 kB / 0.769 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.01277, allocations: 7.984 kB / 0.769 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.01283, allocations: 51.38 kB / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of SimCode: time 9.81e-07/0.01283, allocations: 0 / 0.769 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.004121/0.01696, allocations: 0.8001 MB / 0.7698 GB, free: 12.32 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.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: 4.983157260809094]