Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001103, allocations: 184.8 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008928/0.0008928, allocations: 103.3 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003551, allocations: 14.61 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2204, allocations: 106.3 MB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.3836, allocations: 131.7 MB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002313/0.3838, allocations: 67.97 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003233/0.3871, allocations: 1.074 MB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.135e-06/0.3871, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.3871, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 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.000523/0.3877, allocations: 391 kB / 1.03 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.3877, allocations: 8.031 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.3878, allocations: 7.906 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.3879, allocations: 181.9 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3879, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.388, allocations: 8 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002883/0.3883, allocations: 89.64 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3883, allocations: 4 kB / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3883, allocations: 0 / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3883, allocations: 0 / 1.03 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/0.3886, allocations: 99.91 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.3892, allocations: 328.8 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.3895, allocations: 86.45 kB / 1.031 GB, free: 9.633 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001954/0.3897, allocations: 105.2 kB / 1.031 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.3897, allocations: 34.56 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3897, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0005821/0.3903, allocations: 189.4 kB / 1.031 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3904, allocations: 55.41 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.815e-05/0.3905, allocations: 113 kB / 1.031 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.3905, allocations: 25.7 kB / 1.031 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.3905, allocations: 96.12 kB / 1.032 GB, free: 8.965 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.3906, allocations: 7.844 kB / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.3906, allocations: 0 / 1.032 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.3907, allocations: 326.8 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.3909, allocations: 43.97 kB / 1.032 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.391, allocations: 51.95 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3912, allocations: 47.95 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3912, allocations: 4 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003422/0.3915, allocations: 137.5 kB / 1.032 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3915, allocations: 8 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3916, allocations: 4 kB / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3916, allocations: 0 / 1.032 GB, free: 8.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.3917, allocations: 27.91 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.3918, allocations: 0 / 1.032 GB, free: 8.305 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.3918, allocations: 15.98 kB / 1.032 GB, free: 8.289 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3919, allocations: 4 kB / 1.032 GB, free: 8.285 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.392, allocations: 121.8 kB / 1.032 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.392, allocations: 7.906 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.3924, allocations: 153.4 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3925, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3925, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3925, allocations: 0 / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.3927, allocations: 177.6 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3927, allocations: 0 / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.3928, allocations: 27.97 kB / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3928, allocations: 0 / 1.033 GB, free: 7.742 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3928, allocations: 4 kB / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3928, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3928, allocations: 0 / 1.033 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.3932, allocations: 235.3 kB / 1.033 GB, free: 7.492 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.3933, allocations: 77.11 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3933, allocations: 11.98 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.3934, allocations: 15.98 kB / 1.033 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.669e-05/0.3935, allocations: 4.422 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3935, allocations: 7.938 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.3936, allocations: 107.2 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3936, allocations: 0 / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002314/0.3938, allocations: 12 kB / 1.033 GB, free: 7.242 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001597/0.394, allocations: 99.25 kB / 1.033 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.3943, allocations: 107.9 kB / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.3943, allocations: 0 / 1.033 GB, free: 7.027 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001616/0.3945, allocations: 47.95 kB / 1.033 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.3947, allocations: 15.95 kB / 1.033 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.395, allocations: 172.4 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3953, allocations: 0.6887 MB / 1.034 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.393e-05/0.3953, allocations: 11.84 kB / 1.034 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.3953, allocations: 7.438 kB / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.3954, allocations: 0 / 1.034 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of Templates: time 0.002532/0.3979, allocations: 0.6334 MB / 1.035 GB, free: 5.41 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Utilities_Math_Examples_Biquadratic.csv","../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches