Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009843/0.0009843, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.0009038/0.0009038, allocations: 174 kB / 23.28 MB, free: 1.219 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.9657/0.9657, allocations: 177.1 MB / 203.7 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.516/2.516, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.085e-05/2.305e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002678/0.002701, allocations: 1.544 MB / 0.8913 GB, free: 8.195 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003927/0.003094, allocations: 103.7 kB / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.518e-05/0.003149, allocations: 0 / 0.8914 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 6.021e-05/0.003209, allocations: 3.938 kB / 0.8914 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.289e-05/0.003292, allocations: 15.86 kB / 0.8914 GB, free: 8.074 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002573/0.003549, allocations: 15.98 kB / 0.8914 GB, free: 8.059 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.00365, allocations: 51.83 kB / 0.8914 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.003759, allocations: 8 kB / 0.8914 GB, free: 8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.463e-05/0.003844, allocations: 23.97 kB / 0.8915 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.003895, allocations: 19.92 kB / 0.8915 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.003922, allocations: 4 kB / 0.8915 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.004004, allocations: 15.98 kB / 0.8915 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.004058, allocations: 11.98 kB / 0.8915 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.004083, allocations: 19.92 kB / 0.8915 GB, free: 7.906 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.004215, allocations: 47.81 kB / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004217, allocations: 0 / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.3e-07/0.004218, allocations: 0 / 0.8916 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.004222, allocations: 0 / 0.8916 GB, free: 7.859 MB / 0.8542 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.000434/0.004656, allocations: 400.3 kB / 0.892 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.004705, allocations: 20.56 kB / 0.892 GB, free: 7.41 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.557e-05/0.00474, allocations: 8.891 kB / 0.892 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.004843, allocations: 124.5 kB / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.004856, allocations: 384 / 0.8921 GB, free: 7.254 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.004865, allocations: 4.375 kB / 0.8921 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.005018, allocations: 62.94 kB / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.005026, allocations: 192 / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.005035, allocations: 384 / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.005043, allocations: 384 / 0.8922 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.539e-05/0.005068, allocations: 7.938 kB / 0.8922 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.005376, allocations: 256.4 kB / 0.8924 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.954e-05/0.005445, allocations: 35.05 kB / 0.8925 GB, free: 6.848 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.005466, allocations: 7.688 kB / 0.8925 GB, free: 6.836 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001387/0.005605, allocations: 32.02 kB / 0.8925 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.005634, allocations: 37.39 kB / 0.8925 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=3): time 1.232e-06/0.005635, allocations: 0 / 0.8925 GB, free: 6.758 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3): time 0.0001617/0.005797, allocations: 53.52 kB / 0.8926 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.005836, allocations: 59.41 kB / 0.8926 GB, free: 6.629 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.005948, allocations: 181.9 kB / 0.8928 GB, free: 6.434 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.005962, allocations: 29.7 kB / 0.8928 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.215e-05/0.006024, allocations: 134.9 kB / 0.893 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.006048, allocations: 11.91 kB / 0.893 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.771e-05/0.006085, allocations: 27.36 kB / 0.893 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.006237, allocations: 496.1 kB / 0.8935 GB, free: 5.719 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.006255, allocations: 7.984 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.006268, allocations: 0 / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.006304, allocations: 19.67 kB / 0.8935 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.006306, allocations: 3.938 kB / 0.8935 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.695e-05/0.006383, allocations: 53.64 kB / 0.8936 GB, free: 5.625 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.006397, allocations: 4 kB / 0.8936 GB, free: 5.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.006403, allocations: 3.938 kB / 0.8936 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.006417, allocations: 3.938 kB / 0.8936 GB, free: 5.613 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.00649, allocations: 11.98 kB / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.006494, allocations: 0 / 0.8936 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.1e-05/0.006525, allocations: 4 kB / 0.8936 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.006532, allocations: 4.312 kB / 0.8936 GB, free: 5.594 MB / 0.8542 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 8.119e-05/0.006614, allocations: 156.6 kB / 0.8937 GB, free: 5.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.006636, allocations: 8 kB / 0.8938 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.006749, allocations: 69.55 kB / 0.8938 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.006752, allocations: 3.938 kB / 0.8938 GB, free: 5.336 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.006756, allocations: 4 kB / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.00676, allocations: 0 / 0.8938 GB, free: 5.332 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.006898, allocations: 109.2 kB / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.006899, allocations: 0 / 0.8939 GB, free: 5.199 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.879e-05/0.006938, allocations: 11.98 kB / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.00694, allocations: 0 / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.006946, allocations: 0 / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.006947, allocations: 0 / 0.8939 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006948, allocations: 4 kB / 0.894 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.007076, allocations: 199.8 kB / 0.8941 GB, free: 4.969 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.507e-06/0.007085, allocations: 3.953 kB / 0.8941 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.007097, allocations: 0 / 0.8941 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.007151, allocations: 11.98 kB / 0.8942 GB, free: 4.953 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.00719, allocations: 7.938 kB / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.007193, allocations: 0 / 0.8942 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.564e-05/0.007249, allocations: 134 kB / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007249, allocations: 0 / 0.8943 GB, free: 4.816 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002105/0.007459, allocations: 12 kB / 0.8943 GB, free: 4.805 MB / 0.8542 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 0.0001242/0.007584, allocations: 99.23 kB / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.007674, allocations: 23.67 kB / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.007675, allocations: 0 / 0.8944 GB, free: 4.672 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-05/0.007704, allocations: 23.61 kB / 0.8944 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.007942, allocations: 4 kB / 0.8944 GB, free: 4.641 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003123/0.008254, allocations: 150 kB / 0.8946 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.808e-05/0.008302, allocations: 63.34 kB / 0.8946 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.008328, allocations: 3.938 kB / 0.8947 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.008395, allocations: 78.2 kB / 0.8947 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of SimCode: time 8.21e-07/0.008396, allocations: 0 / 0.8947 GB, free: 4.301 MB / 0.8542 GB Notification: Performance of Templates: time 0.003156/0.01155, allocations: 0.9277 MB / 0.8956 GB, free: 3.379 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.646095742005855]