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.001535/0.001535, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001088/0.001088, allocations: 169 kB / 24.28 MB, free: 276 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.9453/0.9453, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.777/1.777, allocations: 359 MB / 0.6055 GB, free: 11.01 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.523e-06/1.523e-06, allocations: 0.9844 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.075e-05/2.227e-05, allocations: 5.984 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001972/0.001995, allocations: 1.53 MB / 0.7886 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002634/0.002258, allocations: 108.7 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.002298, allocations: 0 / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.051e-05/0.002348, allocations: 4.562 kB / 0.7887 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.002406, allocations: 8.609 kB / 0.7887 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.002611, allocations: 28.69 kB / 0.7887 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.00269, allocations: 39.86 kB / 0.7888 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.002787, allocations: 9.047 kB / 0.7888 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.00285, allocations: 23.92 kB / 0.7888 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.205e-05/0.002893, allocations: 19.95 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.00291, allocations: 6.812 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.803e-05/0.002968, allocations: 19.98 kB / 0.7889 GB, free: 11.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.003018, allocations: 11.94 kB / 0.7889 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.408e-05/0.003042, allocations: 11.98 kB / 0.7889 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.003166, allocations: 51.81 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.003168, allocations: 0 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.31e-07/0.003169, allocations: 0 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.003173, allocations: 0 / 0.7889 GB, free: 10.95 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.0004184/0.003591, allocations: 397.8 kB / 0.7893 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.003637, allocations: 8.031 kB / 0.7893 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.003684, allocations: 8.891 kB / 0.7893 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.003797, allocations: 125 kB / 0.7894 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.003812, allocations: 5.281 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.003823, allocations: 384 / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.003991, allocations: 63.69 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.003999, allocations: 4.125 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.00401, allocations: 5.906 kB / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/0.004019, allocations: 384 / 0.7895 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.004057, allocations: 11.92 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.004383, allocations: 271.8 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.223e-05/0.004455, allocations: 44.16 kB / 0.7898 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.876e-05/0.004484, allocations: 15.69 kB / 0.7899 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.004618, allocations: 35.09 kB / 0.7899 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.004637, allocations: 33.39 kB / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.004639, allocations: 0 / 0.7899 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001564/0.004795, allocations: 49.58 kB / 0.79 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/0.004826, allocations: 59.39 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.004919, allocations: 178.5 kB / 0.7902 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.004929, allocations: 25.7 kB / 0.7902 GB, free: 9.473 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.00498, allocations: 147.5 kB / 0.7904 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.004997, allocations: 3.953 kB / 0.7904 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.005024, allocations: 23.91 kB / 0.7904 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.00513, allocations: 0.4939 MB / 0.7909 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.005148, allocations: 4 kB / 0.7909 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.005163, allocations: 4 kB / 0.7909 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.275e-05/0.005196, allocations: 11.69 kB / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.005198, allocations: 0 / 0.7909 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.306e-05/0.005261, allocations: 54.2 kB / 0.7909 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.005275, allocations: 12.62 kB / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.00528, allocations: 0 / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.005292, allocations: 0.6875 kB / 0.7909 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.005363, allocations: 11.98 kB / 0.791 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.005367, allocations: 0.9375 kB / 0.791 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/0.005389, allocations: 4 kB / 0.791 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.005394, allocations: 1.375 kB / 0.791 GB, free: 8.676 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 6.231e-05/0.005456, allocations: 164.6 kB / 0.7911 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.005471, allocations: 7.953 kB / 0.7911 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.957e-05/0.005561, allocations: 55.38 kB / 0.7912 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.005563, allocations: 4 kB / 0.7912 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.005567, allocations: 0 / 0.7912 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.005571, allocations: 3.984 kB / 0.7912 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.382e-05/0.005664, allocations: 132.5 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005666, allocations: 0.875 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.061e-05/0.005696, allocations: 11.98 kB / 0.7913 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.005697, allocations: 0.8438 kB / 0.7913 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.005706, allocations: 4 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.005708, allocations: 5.625 kB / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005709, allocations: 0 / 0.7913 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.314e-05/0.005802, allocations: 192.3 kB / 0.7915 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.172e-06/0.005808, allocations: 4.047 kB / 0.7915 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.005821, allocations: 8.828 kB / 0.7915 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.781e-05/0.005859, allocations: 11.94 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.005898, allocations: 10.2 kB / 0.7916 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.0059, allocations: 3.938 kB / 0.7916 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.005944, allocations: 136.4 kB / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005944, allocations: 0 / 0.7917 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001457/0.00609, allocations: 15.95 kB / 0.7917 GB, free: 7.855 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 0.000106/0.006196, allocations: 105.3 kB / 0.7918 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.73e-05/0.006283, allocations: 19.69 kB / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.006285, allocations: 0 / 0.7918 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/0.006307, allocations: 15.67 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.00648, allocations: 8 kB / 0.7918 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.006756, allocations: 160.9 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.486e-05/0.006791, allocations: 59.34 kB / 0.7921 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.006816, allocations: 4 kB / 0.7921 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.006839, allocations: 8.5 kB / 0.7921 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.00684, allocations: 1.156 kB / 0.7921 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.002375/0.009214, allocations: 0.8602 MB / 0.7929 GB, free: 6.594 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.150625091046095]