Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.393/2.393, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001223/0.001223, allocations: 188.7 kB / 496.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 221.3 MB / 0.7915 GB, free: 5.387 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008223/0.0008224, allocations: 95.89 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.884e-05/2.924e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2801, allocations: 143 MB / 1.219 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8792/1.159, allocations: 150 MB / 1.365 GB, free: 3.949 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/1.16, allocations: 73.77 kB / 1.365 GB, free: 3.91 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003065/1.163, allocations: 1.08 MB / 1.366 GB, free: 2.922 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.362e-06/1.163, allocations: 0 / 1.366 GB, free: 2.922 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.416e-06/1.163, allocations: 4 kB / 1.366 GB, free: 2.918 MB / 0.823 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.0004138/1.163, allocations: 374.2 kB / 1.367 GB, free: 2.512 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/1.163, allocations: 8.031 kB / 1.367 GB, free: 2.504 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.958e-05/1.163, allocations: 4 kB / 1.367 GB, free: 2.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/1.163, allocations: 171.9 kB / 1.367 GB, free: 2.293 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/1.163, allocations: 4 kB / 1.367 GB, free: 2.289 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.163, allocations: 7.984 kB / 1.367 GB, free: 2.281 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/1.164, allocations: 52.12 kB / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/1.164, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/1.164, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.164, allocations: 0 / 1.367 GB, free: 2.234 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/1.164, allocations: 37.92 kB / 1.367 GB, free: 2.207 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/1.164, allocations: 328.8 kB / 1.367 GB, free: 1.855 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.946e-05/1.164, allocations: 44.94 kB / 1.367 GB, free: 1.812 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.077e-05/1.164, allocations: 16.36 kB / 1.367 GB, free: 1.797 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001731/1.165, allocations: 109.2 kB / 1.367 GB, free: 1.672 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/1.165, allocations: 41.5 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/1.165, allocations: 0.875 kB / 1.368 GB, free: 1.625 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001948/1.165, allocations: 63.28 kB / 1.368 GB, free: 1.566 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/1.165, allocations: 55.36 kB / 1.368 GB, free: 1.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.83e-05/1.165, allocations: 118.2 kB / 1.368 GB, free: 1.387 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/1.165, allocations: 29.64 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/1.165, allocations: 101.8 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/1.165, allocations: 11.8 kB / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/1.165, allocations: 0 / 1.368 GB, free: 1.246 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.165, allocations: 324 kB / 1.368 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/1.165, allocations: 10.94 kB / 1.368 GB, free: 0.918 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/1.165, allocations: 17.17 kB / 1.368 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/1.165, allocations: 14.69 kB / 1.368 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.165, allocations: 3.938 kB / 1.368 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/1.165, allocations: 68.17 kB / 1.368 GB, free: 0.832 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/1.165, allocations: 8 kB / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.165, allocations: 0 / 1.368 GB, free: 0.8242 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/1.165, allocations: 4 kB / 1.368 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/1.166, allocations: 24.78 kB / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/1.166, allocations: 0 / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.876e-05/1.166, allocations: 19.94 kB / 1.368 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/1.166, allocations: 4 kB / 1.368 GB, free: 0.7734 MB / 0.823 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.55e-05/1.166, allocations: 101 kB / 1.368 GB, free: 0.668 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.773e-05/1.166, allocations: 7.906 kB / 1.368 GB, free: 0.6602 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/1.166, allocations: 88.31 kB / 1.369 GB, free: 0.582 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.166, allocations: 8.031 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/1.166, allocations: 0 / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.166, allocations: 3.938 kB / 1.369 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/1.166, allocations: 179.2 kB / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/1.166, allocations: 0 / 1.369 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/1.166, allocations: 27.97 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/1.166, allocations: 0 / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-06/1.166, allocations: 3.75 kB / 1.369 GB, free: 336 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/1.166, allocations: 4 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.166, allocations: 0 / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/1.167, allocations: 169 kB / 1.369 GB, free: 156 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/1.167, allocations: 85.02 kB / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/1.167, allocations: 0 / 1.369 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.167, allocations: 19.3 kB / 1.369 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/1.167, allocations: 7.984 kB / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/1.167, allocations: 0 / 1.369 GB, free: 28 kB / 0.823 GB Notification: Performance of sorting global known variables: time 7.883e-05/1.167, allocations: 101.7 kB / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.167, allocations: 0 / 1.369 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002018/1.167, allocations: 19.94 kB / 1.369 GB, free: 15.91 MB / 0.8386 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.000153/1.167, allocations: 95.25 kB / 1.369 GB, free: 15.81 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000105/1.167, allocations: 34.5 kB / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/1.167, allocations: 0 / 1.369 GB, free: 15.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.874e-05/1.168, allocations: 27.05 kB / 1.369 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/1.168, allocations: 13.25 kB / 1.369 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/1.168, allocations: 96.03 kB / 1.369 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/1.168, allocations: 0.6887 MB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.35e-05/1.168, allocations: 4 kB / 1.37 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/1.168, allocations: 7.438 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.168, allocations: 3.938 kB / 1.37 GB, free: 14.92 MB / 0.8386 GB Notification: Performance of Templates: time 0.002659/1.171, allocations: 0.6479 MB / 1.371 GB, free: 14.29 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Biquadratic.csv","../files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches