Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.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.0008935/0.0008935, 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.0009189/0.0009189, allocations: 185 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.9645/0.9645, allocations: 177.1 MB / 204.5 MB, free: 5.508 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 2.089/2.089, allocations: 377.9 MB / 0.624 GB, free: 8.391 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.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|quadraticLinear.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0.7656 kB / 0.812 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.758e-05, allocations: 3.406 kB / 0.812 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001867/0.001885, allocations: 1.538 MB / 0.8135 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002664/0.002151, allocations: 117.2 kB / 0.8136 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.002188, allocations: 0 / 0.8136 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.279e-05/0.00224, allocations: 3.984 kB / 0.8136 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.002309, allocations: 12.84 kB / 0.8136 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.002521, allocations: 19.97 kB / 0.8137 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.738e-05/0.002588, allocations: 44.64 kB / 0.8137 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.18e-05/0.00267, allocations: 11.98 kB / 0.8137 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.589e-05/0.002736, allocations: 29.59 kB / 0.8137 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.052e-05/0.002777, allocations: 15.92 kB / 0.8138 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.002795, allocations: 4 kB / 0.8138 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.002854, allocations: 23.97 kB / 0.8138 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.031e-05/0.002894, allocations: 13.47 kB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.651e-05/0.002911, allocations: 11.98 kB / 0.8138 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.003018, allocations: 51.81 kB / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00302, allocations: 0 / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.00302, allocations: 0 / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.003024, allocations: 1.156 kB / 0.8139 GB, free: 14.41 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003769/0.003401, allocations: 396 kB / 0.8142 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.003438, allocations: 9.406 kB / 0.8142 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.346e-05/0.003471, allocations: 8.891 kB / 0.8143 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.657e-05/0.003558, allocations: 120.5 kB / 0.8144 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.003572, allocations: 8.359 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.003579, allocations: 2.125 kB / 0.8144 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.00372, allocations: 66.88 kB / 0.8144 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.003727, allocations: 192 / 0.8144 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.003734, allocations: 4.375 kB / 0.8144 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.003741, allocations: 1.062 kB / 0.8144 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.287e-05/0.003764, allocations: 12.77 kB / 0.8145 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002705/0.004034, allocations: 248.4 kB / 0.8147 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.299e-05/0.004097, allocations: 31.53 kB / 0.8147 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.004117, allocations: 12.25 kB / 0.8147 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.004242, allocations: 37.34 kB / 0.8148 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.004264, allocations: 35.98 kB / 0.8148 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.004266, allocations: 0 / 0.8148 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001274/0.004393, allocations: 49.62 kB / 0.8149 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.00442, allocations: 55.41 kB / 0.8149 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.014e-05/0.0045, allocations: 181.9 kB / 0.8151 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.004511, allocations: 33.62 kB / 0.8151 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.965e-05/0.00456, allocations: 150.8 kB / 0.8153 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.004575, allocations: 4.484 kB / 0.8153 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/0.004604, allocations: 23.38 kB / 0.8153 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.004709, allocations: 0.4891 MB / 0.8158 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.00472, allocations: 4 kB / 0.8158 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.997e-06/0.004729, allocations: 0.5312 kB / 0.8158 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.839e-05/0.004758, allocations: 21.33 kB / 0.8158 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004759, allocations: 0 / 0.8158 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.239e-05/0.004812, allocations: 45.66 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.004823, allocations: 5.406 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.004827, allocations: 0.5 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.004838, allocations: 3.938 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.004895, allocations: 16.52 kB / 0.8159 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.004898, allocations: 0.7812 kB / 0.8159 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.00492, allocations: 7.984 kB / 0.8159 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.004925, allocations: 4.625 kB / 0.8159 GB, free: 12.17 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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 5.598e-05/0.004981, allocations: 153.7 kB / 0.816 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.004997, allocations: 11.95 kB / 0.816 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.719e-05/0.005075, allocations: 53.98 kB / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.005079, allocations: 13.02 kB / 0.8161 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.005081, allocations: 3.984 kB / 0.8161 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.005084, allocations: 0.8438 kB / 0.8161 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.732e-05/0.005182, allocations: 105.2 kB / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005183, allocations: 0 / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.005211, allocations: 14.16 kB / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.005212, allocations: 0 / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.005218, allocations: 4 kB / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.005218, allocations: 0 / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.005221, allocations: 4 kB / 0.8162 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.819e-05/0.005309, allocations: 198.6 kB / 0.8164 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.135e-06/0.005318, allocations: 7.922 kB / 0.8164 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.005327, allocations: 4 kB / 0.8164 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.55e-05/0.005362, allocations: 4 kB / 0.8164 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.005392, allocations: 11.92 kB / 0.8164 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.005394, allocations: 0 / 0.8164 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.005435, allocations: 139.2 kB / 0.8166 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005435, allocations: 3.938 kB / 0.8166 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001399/0.005575, allocations: 9.531 kB / 0.8166 GB, free: 11.38 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 (3): * Single equations (assignments): 3 * 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 8.915e-05/0.005664, allocations: 99.25 kB / 0.8167 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.186e-05/0.005726, allocations: 24.11 kB / 0.8167 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.005727, allocations: 0 / 0.8167 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.939e-05/0.005747, allocations: 16.41 kB / 0.8167 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/0.005967, allocations: 13.8 kB / 0.8167 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.00626, allocations: 150 kB / 0.8169 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.006297, allocations: 59.34 kB / 0.8169 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.125e-05/0.006318, allocations: 1.344 kB / 0.8169 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.688e-05/0.006375, allocations: 82.12 kB / 0.817 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.006375, allocations: 1.094 kB / 0.817 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.002436/0.008811, allocations: 0.9283 MB / 0.8179 GB, free: 9.984 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.QuadraticLinear_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_QuadraticLinear.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.20614826399833]