Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.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.0009475/0.0009475, allocations: 81.86 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.0009916/0.0009916, 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.9516/0.9516, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.857/1.857, allocations: 377.9 MB / 0.6239 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] 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.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.812 GB, free: 304 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.758e-05, allocations: 3.562 kB / 0.812 GB, free: 300 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001792/0.001809, allocations: 1.542 MB / 0.8135 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.002047, allocations: 104.3 kB / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.077e-05/0.002078, allocations: 4 kB / 0.8136 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.002117, allocations: 7.922 kB / 0.8136 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.244e-05/0.002169, allocations: 4.812 kB / 0.8136 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.002338, allocations: 24.75 kB / 0.8136 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.847e-05/0.002406, allocations: 47.78 kB / 0.8137 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.002497, allocations: 13.67 kB / 0.8137 GB, free: 14.56 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.632e-05/0.002554, allocations: 19.98 kB / 0.8137 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.513e-05/0.002589, allocations: 15.92 kB / 0.8137 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.496e-05/0.002604, allocations: 7.938 kB / 0.8137 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.231e-05/0.002656, allocations: 17.52 kB / 0.8138 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.868e-05/0.002695, allocations: 15.98 kB / 0.8138 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.002711, allocations: 11.94 kB / 0.8138 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.612e-05/0.002807, allocations: 51.86 kB / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.552e-06/0.002809, allocations: 1.375 kB / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.82e-07/0.00281, allocations: 0 / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.002812, allocations: 3.938 kB / 0.8138 GB, free: 14.42 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.0003011/0.003114, allocations: 390.1 kB / 0.8142 GB, free: 14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.003149, allocations: 12.03 kB / 0.8142 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.003174, allocations: 8.891 kB / 0.8142 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.00337, allocations: 124.5 kB / 0.8144 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.797e-06/0.003378, allocations: 384 / 0.8144 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.887e-06/0.003387, allocations: 9.438 kB / 0.8144 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.00349, allocations: 62.88 kB / 0.8144 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.588e-06/0.003495, allocations: 1 kB / 0.8144 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.72e-06/0.003501, allocations: 384 / 0.8144 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.003506, allocations: 5.5 kB / 0.8144 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.003526, allocations: 11.94 kB / 0.8144 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002104/0.003737, allocations: 248.4 kB / 0.8147 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.462e-05/0.003791, allocations: 41.45 kB / 0.8147 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.003807, allocations: 11.69 kB / 0.8147 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/0.003907, allocations: 35.92 kB / 0.8148 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.763e-05/0.003925, allocations: 33.92 kB / 0.8148 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.003926, allocations: 0.7188 kB / 0.8148 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001062/0.004032, allocations: 49.81 kB / 0.8148 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.004053, allocations: 51.94 kB / 0.8149 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.004125, allocations: 187.5 kB / 0.8151 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.827e-06/0.004134, allocations: 25.7 kB / 0.8151 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.004183, allocations: 146.8 kB / 0.8152 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.004198, allocations: 7.891 kB / 0.8152 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.004228, allocations: 27.36 kB / 0.8153 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.004331, allocations: 496.7 kB / 0.8157 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.004344, allocations: 4.688 kB / 0.8157 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.004355, allocations: 3.984 kB / 0.8157 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.423e-05/0.004379, allocations: 16.38 kB / 0.8158 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.00438, allocations: 0 / 0.8158 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.391e-05/0.004434, allocations: 50.52 kB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/0.004444, allocations: 5.406 kB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.004447, allocations: 0.8125 kB / 0.8158 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.967e-06/0.004456, allocations: 3.938 kB / 0.8158 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.491e-05/0.004511, allocations: 16.86 kB / 0.8158 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.004514, allocations: 3.938 kB / 0.8158 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.004536, allocations: 9.219 kB / 0.8159 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.004542, allocations: 0 / 0.8159 GB, free: 12.18 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.248e-05/0.004594, allocations: 156.6 kB / 0.816 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.004609, allocations: 8.797 kB / 0.816 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.004681, allocations: 61.67 kB / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.004683, allocations: 6.156 kB / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.004684, allocations: 0 / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004687, allocations: 0 / 0.8161 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.431e-05/0.004771, allocations: 105.2 kB / 0.8162 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004772, allocations: 0 / 0.8162 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.561e-05/0.004797, allocations: 11.98 kB / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.004799, allocations: 3.094 kB / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.938e-06/0.004803, allocations: 3.938 kB / 0.8162 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.004805, allocations: 4 kB / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.004805, allocations: 0 / 0.8162 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.984e-05/0.004885, allocations: 199.8 kB / 0.8164 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.004891, allocations: 4 kB / 0.8164 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.893e-06/0.004898, allocations: 0 / 0.8164 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.599e-05/0.004934, allocations: 7.984 kB / 0.8164 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.00496, allocations: 9.219 kB / 0.8164 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.004963, allocations: 0 / 0.8164 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.451e-05/0.004997, allocations: 135.2 kB / 0.8165 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.004997, allocations: 0.625 kB / 0.8165 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001384/0.005135, allocations: 11.98 kB / 0.8165 GB, free: 11.4 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.758e-05/0.005223, allocations: 101.5 kB / 0.8166 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.928e-05/0.005282, allocations: 23.61 kB / 0.8167 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.005284, allocations: 0 / 0.8167 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.76e-05/0.005301, allocations: 16 kB / 0.8167 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.005456, allocations: 5.188 kB / 0.8167 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.005665, allocations: 155.1 kB / 0.8168 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.051e-05/0.005695, allocations: 59.34 kB / 0.8169 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.005714, allocations: 4.75 kB / 0.8169 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.005757, allocations: 70.95 kB / 0.817 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of SimCode: time 6.72e-07/0.005758, allocations: 0 / 0.817 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of Templates: time 0.002165/0.007923, allocations: 0.9463 MB / 0.8179 GB, free: 9.996 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Biquadratic.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.889007824007422]