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.00145/0.00145, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001336/0.001336, allocations: 161 kB / 23.81 MB, free: 0.7539 MB / 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.9208/0.9208, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.946/1.946, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.212e-06/1.212e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.254e-05, allocations: 3.312 kB / 0.8115 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001827/0.00185, allocations: 1.536 MB / 0.813 GB, free: 180 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0002537/0.002104, allocations: 108.8 kB / 0.8132 GB, free: 72 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.002133, allocations: 4 kB / 0.8132 GB, free: 68 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 4.868e-05/0.002182, allocations: 7.922 kB / 0.8132 GB, free: 60 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 5.541e-05/0.002237, allocations: 5.969 kB / 0.8132 GB, free: 56 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.002442, allocations: 19.98 kB / 0.8132 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.002529, allocations: 51.77 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.291e-05/0.002612, allocations: 4 kB / 0.8132 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.002667, allocations: 25 kB / 0.8133 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.909e-05/0.002707, allocations: 15.92 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.002724, allocations: 4 kB / 0.8133 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.791e-05/0.002782, allocations: 20.67 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.002823, allocations: 12.89 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.002844, allocations: 15.92 kB / 0.8133 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.00296, allocations: 47.81 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002962, allocations: 4.656 kB / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002963, allocations: 0 / 0.8134 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.002967, allocations: 0.875 kB / 0.8134 GB, free: 15.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003625/0.00333, allocations: 389.7 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.003366, allocations: 12.03 kB / 0.8138 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.003404, allocations: 8.891 kB / 0.8138 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.518e-05/0.003489, allocations: 130.3 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.0035, allocations: 384 / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.337e-06/0.003509, allocations: 4.375 kB / 0.8139 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.003645, allocations: 66.88 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.003652, allocations: 192 / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.00366, allocations: 1.5 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.003668, allocations: 4.375 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.0037, allocations: 7.938 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00028/0.00398, allocations: 273.3 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.079e-05/0.004051, allocations: 35 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.369e-05/0.004085, allocations: 15.69 kB / 0.8143 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.004221, allocations: 29.78 kB / 0.8143 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.004241, allocations: 38.17 kB / 0.8144 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.004243, allocations: 3.984 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.004399, allocations: 55.39 kB / 0.8144 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.004426, allocations: 51.41 kB / 0.8145 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.048e-05/0.004507, allocations: 192.7 kB / 0.8146 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/0.004516, allocations: 25.7 kB / 0.8147 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.004561, allocations: 134.9 kB / 0.8148 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.004578, allocations: 12.56 kB / 0.8148 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.004607, allocations: 27.38 kB / 0.8148 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.004703, allocations: 496.8 kB / 0.8153 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.004722, allocations: 7.984 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.004735, allocations: 4.438 kB / 0.8153 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.314e-05/0.004768, allocations: 16.88 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.00477, allocations: 0 / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.1e-05/0.004831, allocations: 49.64 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.004844, allocations: 11.12 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.004848, allocations: 11.94 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.004859, allocations: 1.219 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.004935, allocations: 11.98 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.004939, allocations: 1.062 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.004962, allocations: 4 kB / 0.8154 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.004968, allocations: 0 / 0.8154 GB, free: 13.56 MB / 0.7761 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.839e-05/0.005026, allocations: 161.5 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.005041, allocations: 3.953 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.616e-05/0.005137, allocations: 59.42 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.005139, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.005142, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.005144, allocations: 0 / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.55e-05/0.00524, allocations: 132.6 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.005242, allocations: 5.328 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.005278, allocations: 11.94 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.00528, allocations: 0 / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.005286, allocations: 0.875 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.005288, allocations: 3.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.005289, allocations: 4 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.19e-05/0.005381, allocations: 193.9 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.223e-06/0.005388, allocations: 4 kB / 0.816 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.104e-05/0.005399, allocations: 3.984 kB / 0.816 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.005438, allocations: 11.94 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.388e-05/0.005472, allocations: 4.406 kB / 0.816 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-06/0.005476, allocations: 4.688 kB / 0.816 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.005517, allocations: 138.6 kB / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005517, allocations: 0 / 0.8161 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001483/0.005665, allocations: 11.95 kB / 0.8161 GB, free: 12.76 MB / 0.7761 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 9.543e-05/0.005761, allocations: 99.19 kB / 0.8162 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.005848, allocations: 27.66 kB / 0.8163 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.00585, allocations: 7.938 kB / 0.8163 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-05/0.005871, allocations: 11.69 kB / 0.8163 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.006047, allocations: 12.55 kB / 0.8163 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002627/0.00631, allocations: 148.2 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.464e-05/0.006344, allocations: 67.14 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.904e-05/0.006363, allocations: 8 kB / 0.8165 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.006387, allocations: 9.062 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of SimCode: time 4.41e-07/0.006387, allocations: 0.8125 kB / 0.8165 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of Templates: time 0.002629/0.009016, allocations: 0.9238 MB / 0.8174 GB, free: 11.42 MB / 0.7761 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: 5.0558030609972775]