Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001406/0.001406, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001471/0.001471, allocations: 164.6 kB / 24.86 MB, free: 8.891 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.958/0.958, allocations: 177.1 MB / 205.3 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.813/1.813, allocations: 359 MB / 0.6063 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.51e-05, allocations: 3.656 kB / 0.7883 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001743/0.001758, allocations: 1.541 MB / 0.7898 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.001991, allocations: 103.7 kB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.002022, allocations: 0 / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.393e-05/0.002066, allocations: 8.766 kB / 0.7899 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.445e-05/0.00212, allocations: 8.5 kB / 0.7899 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001639/0.002284, allocations: 19.97 kB / 0.79 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.457e-05/0.002348, allocations: 48.47 kB / 0.79 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.075e-05/0.002419, allocations: 12.89 kB / 0.79 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.176e-05/0.002471, allocations: 19.98 kB / 0.79 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.69e-05/0.002508, allocations: 19.92 kB / 0.7901 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.002523, allocations: 4.656 kB / 0.7901 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.038e-05/0.002573, allocations: 15.98 kB / 0.7901 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.783e-05/0.002611, allocations: 13.64 kB / 0.7901 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.835e-05/0.002629, allocations: 19.91 kB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.712e-05/0.002726, allocations: 47.83 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002728, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002729, allocations: 1.594 kB / 0.7901 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.002733, allocations: 0 / 0.7901 GB, free: 10.36 MB / 0.7448 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.0005537/0.003286, allocations: 392.4 kB / 0.7905 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.965e-05/0.003316, allocations: 8.031 kB / 0.7905 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.003342, allocations: 12.33 kB / 0.7905 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.097e-05/0.003413, allocations: 124.5 kB / 0.7907 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003422, allocations: 4.375 kB / 0.7907 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.003429, allocations: 4.375 kB / 0.7907 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.00353, allocations: 62.88 kB / 0.7907 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.003536, allocations: 192 / 0.7907 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.003543, allocations: 8.375 kB / 0.7907 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.003546, allocations: 384 / 0.7907 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.061e-05/0.003567, allocations: 8.656 kB / 0.7907 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002089/0.003776, allocations: 252.4 kB / 0.791 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.1e-05/0.003827, allocations: 31.53 kB / 0.791 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.049e-05/0.003847, allocations: 13.06 kB / 0.791 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-05/0.003943, allocations: 33.34 kB / 0.7911 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.003963, allocations: 37.39 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.003964, allocations: 0.6562 kB / 0.7911 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001131/0.004077, allocations: 41.64 kB / 0.7911 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.004104, allocations: 60.05 kB / 0.7912 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.942e-05/0.004174, allocations: 181.9 kB / 0.7914 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.837e-06/0.004183, allocations: 26.77 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.004225, allocations: 142.8 kB / 0.7915 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.004241, allocations: 3.953 kB / 0.7915 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.609e-05/0.004268, allocations: 28.23 kB / 0.7916 GB, free: 8.742 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.004366, allocations: 0.4922 MB / 0.792 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.004377, allocations: 5.344 kB / 0.792 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.004388, allocations: 4.188 kB / 0.7921 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.759e-05/0.004415, allocations: 19.75 kB / 0.7921 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.004418, allocations: 4 kB / 0.7921 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.536e-05/0.004473, allocations: 50.2 kB / 0.7921 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.004485, allocations: 10.66 kB / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-06/0.004488, allocations: 0 / 0.7921 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.004496, allocations: 7.938 kB / 0.7921 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.089e-05/0.004547, allocations: 8.922 kB / 0.7921 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-06/0.004549, allocations: 4 kB / 0.7922 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.269e-05/0.004572, allocations: 5.125 kB / 0.7922 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.004576, allocations: 0 / 0.7922 GB, free: 8.117 MB / 0.7448 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.331e-05/0.00463, allocations: 158 kB / 0.7923 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.004648, allocations: 11.95 kB / 0.7923 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.956e-05/0.004718, allocations: 49.69 kB / 0.7924 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00472, allocations: 3.938 kB / 0.7924 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.004721, allocations: 0.5312 kB / 0.7924 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004724, allocations: 0.5625 kB / 0.7924 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.141e-05/0.004815, allocations: 109.2 kB / 0.7925 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.004816, allocations: 0.5312 kB / 0.7925 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.004845, allocations: 16.73 kB / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.004845, allocations: 0 / 0.7925 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.004851, allocations: 8.875 kB / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.004852, allocations: 0 / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004852, allocations: 0 / 0.7925 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.208e-05/0.004935, allocations: 192.7 kB / 0.7927 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.00494, allocations: 4 kB / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-06/0.004948, allocations: 0.9375 kB / 0.7927 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.004983, allocations: 7.984 kB / 0.7927 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.005011, allocations: 13.14 kB / 0.7927 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.005015, allocations: 4 kB / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.005051, allocations: 133.4 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005051, allocations: 0.875 kB / 0.7928 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001456/0.005197, allocations: 11.95 kB / 0.7929 GB, free: 7.352 MB / 0.7448 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.205e-05/0.005279, allocations: 109.3 kB / 0.793 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.149e-05/0.005341, allocations: 23.66 kB / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.005342, allocations: 0 / 0.793 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.826e-05/0.00536, allocations: 11.69 kB / 0.793 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001655/0.005525, allocations: 13.83 kB / 0.793 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.005734, allocations: 154 kB / 0.7931 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.994e-05/0.005764, allocations: 67.28 kB / 0.7932 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.796e-05/0.005782, allocations: 4 kB / 0.7932 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.005827, allocations: 74.19 kB / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.005827, allocations: 1.219 kB / 0.7933 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of Templates: time 0.002158/0.007985, allocations: 0.9416 MB / 0.7942 GB, free: 5.93 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.992671354673803]