Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.002/2.002, allocations: 387.2 MB / 394.5 MB, free: 13.65 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 169.3 kB / 487 MB, free: 5.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 221.3 MB / 0.7819 GB, free: 1.34 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 106.2 kB / 0.9213 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.626e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.259, allocations: 142.3 MB / 1.205 GB, free: 26.19 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7618/1.021, allocations: 148.5 MB / 1.35 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002104/1.021, allocations: 71.31 kB / 1.35 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.003041/1.024, allocations: 0.7841 MB / 1.351 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.887e-06/1.024, allocations: 1.375 kB / 1.351 GB, free: 15.67 MB / 0.8073 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.0003816/1.025, allocations: 376.9 kB / 1.351 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/1.025, allocations: 12.88 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/1.025, allocations: 7.188 kB / 1.351 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.288e-05/1.025, allocations: 168.1 kB / 1.352 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/1.025, allocations: 3.906 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/1.025, allocations: 2.562 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001099/1.025, allocations: 33.84 kB / 1.352 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.679e-05/1.025, allocations: 55.92 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.025, allocations: 3.984 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/1.025, allocations: 1.312 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/1.025, allocations: 0 / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/1.026, allocations: 308.8 kB / 1.352 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.383e-05/1.026, allocations: 51.83 kB / 1.352 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.096e-05/1.026, allocations: 21.3 kB / 1.352 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001734/1.026, allocations: 102.7 kB / 1.352 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/1.026, allocations: 39.44 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/1.026, allocations: 4 kB / 1.352 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0002521/1.026, allocations: 76.41 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.692e-05/1.026, allocations: 51.41 kB / 1.352 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.822e-05/1.026, allocations: 114.7 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/1.026, allocations: 25.7 kB / 1.352 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.595e-05/1.026, allocations: 89.27 kB / 1.353 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/1.026, allocations: 8.969 kB / 1.353 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/1.026, allocations: 0 / 1.353 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/1.026, allocations: 324.3 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.116e-05/1.026, allocations: 14.48 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/1.026, allocations: 15.06 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.515e-05/1.027, allocations: 27.41 kB / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.027, allocations: 0 / 1.353 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001511/1.027, allocations: 79.86 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.027, allocations: 5.188 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.027, allocations: 0 / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.027, allocations: 1.094 kB / 1.353 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/1.027, allocations: 29.23 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.027, allocations: 1.094 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.721e-05/1.027, allocations: 21.67 kB / 1.353 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/1.027, allocations: 6 kB / 1.353 GB, free: 13.97 MB / 0.8073 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 4.734e-05/1.027, allocations: 105.8 kB / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/1.027, allocations: 6.969 kB / 1.353 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/1.027, allocations: 95.28 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.027, allocations: 0 / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.027, allocations: 0 / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.027, allocations: 2.562 kB / 1.353 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/1.028, allocations: 164.5 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.028, allocations: 1.281 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001164/1.028, allocations: 21.39 kB / 1.353 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/1.028, allocations: 5.219 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/1.028, allocations: 1.875 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/1.028, allocations: 4 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.028, allocations: 1.25 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001716/1.028, allocations: 173.7 kB / 1.354 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/1.028, allocations: 88.33 kB / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/1.028, allocations: 0 / 1.354 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/1.028, allocations: 22.41 kB / 1.354 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/1.028, allocations: 8.172 kB / 1.354 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/1.028, allocations: 3 kB / 1.354 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.125e-05/1.028, allocations: 97.97 kB / 1.354 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002343/1.028, allocations: 16.88 kB / 1.354 GB, free: 13.32 MB / 0.8073 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.0001278/1.029, allocations: 102.1 kB / 1.354 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000101/1.029, allocations: 36.09 kB / 1.354 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/1.029, allocations: 0 / 1.354 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/1.029, allocations: 19.75 kB / 1.354 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/1.029, allocations: 7.094 kB / 1.354 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/1.029, allocations: 97.22 kB / 1.354 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/1.029, allocations: 0.7002 MB / 1.355 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/1.029, allocations: 0 / 1.355 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.002745/1.032, allocations: 0.7363 MB / 1.355 GB, free: 12.38 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches