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.806/1.806, allocations: 249.5 MB / 257 MB, free: 6.941 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.00106/0.00106, allocations: 188.2 kB / 316.3 MB, free: 3.211 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.669/1.669, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0008907/0.0008908, allocations: 94.45 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.934e-05/1.936e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2646, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8982/1.163, allocations: 131.9 MB / 1.014 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/1.163, allocations: 72.83 kB / 1.014 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003361/1.167, allocations: 1.069 MB / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.785e-06/1.167, allocations: 0 / 1.015 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.608e-06/1.167, allocations: 0 / 1.015 GB, free: 4.902 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.0006169/1.167, allocations: 373.9 kB / 1.015 GB, free: 4.496 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/1.167, allocations: 8.031 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/1.167, allocations: 7.906 kB / 1.016 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/1.168, allocations: 174.9 kB / 1.016 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.168, allocations: 3.938 kB / 1.016 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/1.168, allocations: 8 kB / 1.016 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00014/1.168, allocations: 29.98 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/1.168, allocations: 52.48 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/1.168, allocations: 3.938 kB / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/1.168, allocations: 0 / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/1.168, allocations: 0 / 1.016 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006199/1.169, allocations: 304 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/1.169, allocations: 47.94 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.089e-05/1.169, allocations: 22.56 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002115/1.169, allocations: 107.8 kB / 1.016 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/1.169, allocations: 30.56 kB / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/1.169, allocations: 0 / 1.016 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002905/1.169, allocations: 74.7 kB / 1.016 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/1.169, allocations: 58.64 kB / 1.016 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/1.17, allocations: 111.8 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/1.17, allocations: 25.7 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/1.17, allocations: 87.02 kB / 1.017 GB, free: 3.285 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/1.17, allocations: 11.91 kB / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.17, allocations: 0 / 1.017 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.17, allocations: 322.2 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.27e-05/1.17, allocations: 11.44 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.808e-05/1.17, allocations: 22.8 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/1.17, allocations: 19.36 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.17, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000136/1.17, allocations: 75.78 kB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.17, allocations: 4.75 kB / 1.017 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.17, allocations: 4.047 kB / 1.017 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/1.17, allocations: 7.984 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/1.17, allocations: 23.97 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/1.17, allocations: 0.5469 kB / 1.017 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.605e-05/1.17, allocations: 15.98 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/1.17, allocations: 3.25 kB / 1.017 GB, free: 2.789 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.734e-05/1.171, allocations: 108.9 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/1.171, allocations: 11.84 kB / 1.017 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/1.171, allocations: 94.42 kB / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/1.171, allocations: 0 / 1.017 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.171, allocations: 4 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.171, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001802/1.171, allocations: 159.8 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/1.171, allocations: 0 / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.171, allocations: 23.98 kB / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/1.171, allocations: 0 / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.171, allocations: 0 / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/1.171, allocations: 0 / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/1.171, allocations: 0 / 1.017 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/1.171, allocations: 175.4 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/1.171, allocations: 81.06 kB / 1.018 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/1.171, allocations: 8 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/1.172, allocations: 15.98 kB / 1.018 GB, free: 2.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/1.172, allocations: 3.984 kB / 1.018 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/1.172, allocations: 4.875 kB / 1.018 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.95e-05/1.172, allocations: 96.58 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.61e-07/1.172, allocations: 0 / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002071/1.172, allocations: 15.94 kB / 1.018 GB, free: 1.961 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.0001737/1.172, allocations: 103.2 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001097/1.172, allocations: 35.23 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.172, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/1.172, allocations: 19.56 kB / 1.018 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001918/1.172, allocations: 11.89 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002804/1.173, allocations: 90.36 kB / 1.018 GB, free: 1.691 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/1.173, allocations: 0.6955 MB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.792e-05/1.173, allocations: 11.84 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/1.173, allocations: 11.38 kB / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/1.173, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of Templates: time 0.002774/1.176, allocations: 0.5944 MB / 1.019 GB, free: 376 kB / 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