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.0009697/0.0009697, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001049/0.001049, allocations: 161.4 kB / 23.82 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.982/0.982, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.816/1.816, allocations: 359 MB / 0.6052 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 2.024e-06/2.024e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.732e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00244/0.002468, allocations: 1.532 MB / 0.7886 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003022/0.00277, allocations: 107.7 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.002803, allocations: 0.8438 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.784e-05/0.002861, allocations: 7.922 kB / 0.7887 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.148e-05/0.002922, allocations: 9.969 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.003136, allocations: 23.91 kB / 0.7887 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.738e-05/0.003223, allocations: 43.84 kB / 0.7888 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.976e-05/0.003313, allocations: 7.984 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.003373, allocations: 21.08 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.00342, allocations: 19.92 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.003439, allocations: 4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.003505, allocations: 21.02 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.003554, allocations: 11.92 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.003578, allocations: 8 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.003712, allocations: 56.98 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003714, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.71e-07/0.003715, allocations: 0 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.003719, allocations: 1.25 kB / 0.7889 GB, free: 10.62 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.0004159/0.004135, allocations: 392.4 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.004177, allocations: 9.562 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.004217, allocations: 8.891 kB / 0.7893 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.669e-05/0.004314, allocations: 130.4 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.004326, allocations: 4.375 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.004338, allocations: 1.438 kB / 0.7894 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.004501, allocations: 66.94 kB / 0.7895 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.004514, allocations: 4.172 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.004525, allocations: 1.969 kB / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.004534, allocations: 384 / 0.7895 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.788e-05/0.004572, allocations: 7.938 kB / 0.7895 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.004912, allocations: 283.7 kB / 0.7898 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.679e-05/0.004988, allocations: 28.44 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.00502, allocations: 19.77 kB / 0.7898 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001583/0.005179, allocations: 30.86 kB / 0.7899 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.005202, allocations: 33.39 kB / 0.7899 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.005203, allocations: 0 / 0.7899 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001824/0.005386, allocations: 57.56 kB / 0.79 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.005414, allocations: 51.41 kB / 0.79 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.005513, allocations: 182.6 kB / 0.7902 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.005524, allocations: 25.7 kB / 0.7902 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.005721, allocations: 152.4 kB / 0.7903 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.005739, allocations: 3.953 kB / 0.7904 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.005776, allocations: 23.38 kB / 0.7904 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.005897, allocations: 0.4923 MB / 0.7909 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.35e-05/0.005921, allocations: 5.172 kB / 0.7909 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.005938, allocations: 4 kB / 0.7909 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.005979, allocations: 15.69 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005981, allocations: 0 / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.878e-05/0.00607, allocations: 55.33 kB / 0.7909 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.006085, allocations: 7.938 kB / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.00609, allocations: 0 / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.006105, allocations: 0 / 0.7909 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.587e-05/0.006191, allocations: 13.17 kB / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.006196, allocations: 0 / 0.791 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.132e-05/0.006227, allocations: 4 kB / 0.791 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.006235, allocations: 5.656 kB / 0.791 GB, free: 8.34 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.902e-05/0.006304, allocations: 156.6 kB / 0.7911 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.00633, allocations: 7.953 kB / 0.7911 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.006446, allocations: 61.55 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.006447, allocations: 1.781 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.00645, allocations: 0 / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.006455, allocations: 4 kB / 0.7912 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.00659, allocations: 132.9 kB / 0.7913 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006591, allocations: 4.812 kB / 0.7913 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.006645, allocations: 8 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.006647, allocations: 0.5312 kB / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.006654, allocations: 0 / 0.7913 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.006657, allocations: 4.656 kB / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006658, allocations: 0 / 0.7913 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.006777, allocations: 200.4 kB / 0.7915 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.576e-06/0.006786, allocations: 9.234 kB / 0.7915 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.006799, allocations: 4 kB / 0.7915 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.989e-05/0.006859, allocations: 7.938 kB / 0.7915 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.0069, allocations: 8.516 kB / 0.7915 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.006904, allocations: 0 / 0.7915 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.634e-05/0.006961, allocations: 142.8 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.006961, allocations: 3.938 kB / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002339/0.007195, allocations: 11.95 kB / 0.7917 GB, free: 7.523 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.0001185/0.007313, allocations: 96.41 kB / 0.7918 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.513e-05/0.007408, allocations: 23.67 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.00741, allocations: 0.8125 kB / 0.7918 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.007439, allocations: 15.62 kB / 0.7918 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.007697, allocations: 16.92 kB / 0.7918 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.007987, allocations: 147.4 kB / 0.792 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.488e-05/0.008022, allocations: 63.34 kB / 0.792 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.00804, allocations: 0.8125 kB / 0.792 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.008067, allocations: 14.47 kB / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.008068, allocations: 0 / 0.7921 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of Templates: time 0.002697/0.01077, allocations: 0.8564 MB / 0.7929 GB, free: 6.273 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.235813618637621]