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.0009968/0.0009968, allocations: 82.64 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.002125/0.002125, 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 1.039/1.039, allocations: 177.1 MB / 204.5 MB, free: 5.48 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.818/1.818, allocations: 359 MB / 0.6055 GB, free: 10.88 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.693e-06/1.693e-06, allocations: 0 / 0.7876 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.972e-05/3.141e-05, allocations: 6.25 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002593/0.002624, allocations: 1.529 MB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002992/0.002923, allocations: 108.6 kB / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.002962, allocations: 0 / 0.7892 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/0.003008, allocations: 3.938 kB / 0.7892 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.521e-05/0.003073, allocations: 8.781 kB / 0.7892 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001987/0.003272, allocations: 28.45 kB / 0.7892 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.003363, allocations: 45 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.388e-05/0.003446, allocations: 8 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.017e-05/0.003517, allocations: 23.92 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.533e-05/0.003562, allocations: 20.53 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.00358, allocations: 4.781 kB / 0.7893 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.16e-05/0.003642, allocations: 11.98 kB / 0.7893 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.003687, allocations: 19.92 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.948e-05/0.003706, allocations: 12.89 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.003826, allocations: 51.81 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.003828, allocations: 0.6562 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003829, allocations: 0 / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003832, allocations: 0.5938 kB / 0.7894 GB, free: 10.3 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.0004028/0.004235, allocations: 394 kB / 0.7898 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.00427, allocations: 8.031 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.004298, allocations: 8.891 kB / 0.7898 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.038e-05/0.004368, allocations: 120.5 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.085e-06/0.004376, allocations: 5.906 kB / 0.7899 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.004385, allocations: 8.312 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.004494, allocations: 58.94 kB / 0.79 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.0045, allocations: 9.781 kB / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-06/0.004507, allocations: 384 / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-06/0.00451, allocations: 384 / 0.79 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.004532, allocations: 15.92 kB / 0.79 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.004752, allocations: 251.9 kB / 0.7902 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.988e-05/0.004802, allocations: 31 kB / 0.7903 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.004821, allocations: 15.77 kB / 0.7903 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.686e-05/0.004918, allocations: 27.98 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.004936, allocations: 41.33 kB / 0.7903 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.004937, allocations: 0 / 0.7903 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001082/0.005045, allocations: 46.28 kB / 0.7904 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.005074, allocations: 55.91 kB / 0.7904 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.005149, allocations: 189 kB / 0.7906 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.005158, allocations: 26.42 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.588e-05/0.005204, allocations: 142.8 kB / 0.7908 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.005217, allocations: 5.172 kB / 0.7908 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.005245, allocations: 27.38 kB / 0.7908 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.005359, allocations: 0.4923 MB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.084e-05/0.005369, allocations: 0.625 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.00538, allocations: 4 kB / 0.7913 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.434e-05/0.005404, allocations: 16.8 kB / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005405, allocations: 0 / 0.7913 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.105e-05/0.005456, allocations: 49.59 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.005466, allocations: 4.812 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.00547, allocations: 4 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.005482, allocations: 4.594 kB / 0.7914 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.005537, allocations: 13.2 kB / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-06/0.005539, allocations: 0 / 0.7914 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.116e-05/0.005561, allocations: 7.984 kB / 0.7914 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.005566, allocations: 1.047 kB / 0.7914 GB, free: 8.066 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.654e-05/0.005622, allocations: 153.8 kB / 0.7915 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.005635, allocations: 7.953 kB / 0.7916 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.495e-05/0.00571, allocations: 61.66 kB / 0.7916 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.005712, allocations: 3.938 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.005713, allocations: 2.219 kB / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.005716, allocations: 0 / 0.7916 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.624e-05/0.005802, allocations: 109.2 kB / 0.7917 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.005803, allocations: 3.938 kB / 0.7917 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.545e-05/0.005828, allocations: 8 kB / 0.7917 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.00583, allocations: 6.781 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-06/0.005835, allocations: 4 kB / 0.7917 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005836, allocations: 4 kB / 0.7917 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005837, allocations: 0 / 0.7917 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.124e-05/0.005918, allocations: 191.9 kB / 0.7919 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-06/0.005926, allocations: 11.92 kB / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.884e-06/0.005934, allocations: 0 / 0.7919 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.433e-05/0.005968, allocations: 4 kB / 0.7919 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.517e-05/0.006003, allocations: 17.39 kB / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.006005, allocations: 0 / 0.792 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.612e-05/0.006041, allocations: 135.2 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006042, allocations: 0 / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001375/0.006179, allocations: 12.45 kB / 0.7921 GB, free: 7.289 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.678e-05/0.006266, allocations: 105.1 kB / 0.7922 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.74e-05/0.006323, allocations: 19.67 kB / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.006324, allocations: 0 / 0.7922 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.811e-05/0.006342, allocations: 15.69 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.006506, allocations: 13.11 kB / 0.7923 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002122/0.006718, allocations: 158 kB / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.242e-05/0.006751, allocations: 59.34 kB / 0.7925 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.901e-05/0.00677, allocations: 4.531 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.746e-05/0.006817, allocations: 79.31 kB / 0.7925 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of SimCode: time 6.91e-07/0.006818, allocations: 0 / 0.7925 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of Templates: time 0.002243/0.009061, allocations: 0.931 MB / 0.7934 GB, free: 5.879 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: 5.053333375137299]