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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.208/1.208, allocations: 249.4 MB / 256.7 MB, free: 7.078 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009681/0.0009681, allocations: 188.9 kB / 316 MB, free: 3.551 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.089/1.089, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.001126/0.001126, allocations: 73.67 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.352e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5531, allocations: 131.9 MB / 1.013 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001834/0.5533, allocations: 73.08 kB / 1.013 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.00273/0.5561, allocations: 0.7709 MB / 1.014 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.5561, allocations: 8.062 kB / 1.014 GB, free: 6.078 MB / 0.6355 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.0003695/0.5565, allocations: 378.1 kB / 1.015 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.5565, allocations: 8.031 kB / 1.015 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.883e-05/0.5566, allocations: 11.72 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.5567, allocations: 171 kB / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.5567, allocations: 0 / 1.015 GB, free: 5.445 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.5567, allocations: 4 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.794e-05/0.5568, allocations: 31.48 kB / 1.015 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.21e-05/0.5569, allocations: 56.23 kB / 1.015 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.5569, allocations: 3.938 kB / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.5569, allocations: 0 / 1.015 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.5569, allocations: 7.906 kB / 1.015 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004499/0.5574, allocations: 302.7 kB / 1.015 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.137e-05/0.5575, allocations: 50.16 kB / 1.015 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.5575, allocations: 24.44 kB / 1.015 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001626/0.5577, allocations: 104 kB / 1.015 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.5577, allocations: 34.56 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5577, allocations: 2.516 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002242/0.5579, allocations: 88.61 kB / 1.015 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.173e-05/0.558, allocations: 51.41 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.493e-05/0.5581, allocations: 114 kB / 1.016 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.5581, allocations: 25.7 kB / 1.016 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/0.5581, allocations: 88.02 kB / 1.016 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.5581, allocations: 3.906 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.5581, allocations: 0 / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.661e-05/0.5582, allocations: 330.4 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.895e-05/0.5583, allocations: 11.69 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.605e-05/0.5583, allocations: 15.73 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.5584, allocations: 22.61 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5584, allocations: 0 / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001406/0.5585, allocations: 76.09 kB / 1.016 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.5586, allocations: 8 kB / 1.016 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.5586, allocations: 3.906 kB / 1.016 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.5586, allocations: 3.938 kB / 1.016 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.5587, allocations: 23.98 kB / 1.016 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.5587, allocations: 3.984 kB / 1.016 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.341e-05/0.5588, allocations: 23.98 kB / 1.016 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.5589, allocations: 0 / 1.016 GB, free: 3.93 MB / 0.6355 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 () * 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 7.874e-05/0.5589, allocations: 104.1 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.559, allocations: 7.906 kB / 1.016 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.5592, allocations: 95.27 kB / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.5592, allocations: 0 / 1.016 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5592, allocations: 4 kB / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.5592, allocations: 0 / 1.016 GB, free: 3.727 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.5594, allocations: 161.9 kB / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.5594, allocations: 0 / 1.017 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.5595, allocations: 26.73 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.5595, allocations: 0 / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.5595, allocations: 4 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5595, allocations: 0 / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5595, allocations: 3.938 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001771/0.5597, allocations: 177.2 kB / 1.017 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.5597, allocations: 81.02 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.5598, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5599, allocations: 27.97 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.5599, allocations: 3.906 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.56, allocations: 4 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.496e-05/0.56, allocations: 97.2 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002047/0.5602, allocations: 15.94 kB / 1.017 GB, free: 3.098 MB / 0.6355 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 () * 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.0001363/0.5604, allocations: 103.2 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.561e-05/0.5605, allocations: 37.48 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5605, allocations: 0 / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.5605, allocations: 15.81 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.5607, allocations: 11.92 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.5609, allocations: 95.67 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.5612, allocations: 0.7032 MB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of SimCode: time 2.21e-07/0.5612, allocations: 0 / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of Templates: time 0.00246/0.5637, allocations: 0.7292 MB / 1.019 GB, free: 1.387 MB / 0.6355 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