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.353/2.353, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001483/0.001483, allocations: 186.4 kB / 0.4902 GB, free: 2.238 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.486/1.486, allocations: 223.1 MB / 0.7992 GB, free: 14.73 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.001131/0.001131, allocations: 107.1 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003686, allocations: 6.969 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3532, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.202/0.5553, allocations: 150.1 MB / 1.376 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5556, allocations: 75.95 kB / 1.376 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003388/0.559, allocations: 1.067 MB / 1.377 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.871e-06/0.559, allocations: 3.984 kB / 1.377 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.559, allocations: 3.938 kB / 1.377 GB, free: 2.32 MB / 0.8698 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.0006221/0.5597, allocations: 383.1 kB / 1.377 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.5597, allocations: 8.562 kB / 1.377 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.5598, allocations: 7.938 kB / 1.377 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.56, allocations: 178.9 kB / 1.377 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.56, allocations: 4 kB / 1.377 GB, free: 1.664 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.56, allocations: 4 kB / 1.377 GB, free: 1.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.5603, allocations: 89.58 kB / 1.378 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.5604, allocations: 0 / 1.378 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.5604, allocations: 0 / 1.378 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5604, allocations: 0 / 1.378 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.5607, allocations: 107.9 kB / 1.378 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.5614, allocations: 321.7 kB / 1.378 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002342/0.5616, allocations: 82.45 kB / 1.378 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.5618, allocations: 101.2 kB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.5618, allocations: 42.56 kB / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.5619, allocations: 0 / 1.378 GB, free: 0.8398 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0006208/0.5625, allocations: 181.5 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.678e-05/0.5625, allocations: 51.41 kB / 1.378 GB, free: 0.5938 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.5626, allocations: 124.8 kB / 1.378 GB, free: 480 kB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.5627, allocations: 29.7 kB / 1.379 GB, free: 444 kB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.5627, allocations: 92.14 kB / 1.379 GB, free: 348 kB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.5628, allocations: 15.73 kB / 1.379 GB, free: 332 kB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.5628, allocations: 4 kB / 1.379 GB, free: 328 kB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5629, allocations: 318.8 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001668/0.5631, allocations: 56 kB / 1.379 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.5632, allocations: 43.95 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.5634, allocations: 55.95 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5634, allocations: 0 / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003678/0.5638, allocations: 133.6 kB / 1.379 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.5638, allocations: 6.188 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5638, allocations: 0 / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.5639, allocations: 4 kB / 1.379 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.564, allocations: 15.98 kB / 1.379 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.564, allocations: 12 kB / 1.379 GB, free: 15.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.853e-05/0.5641, allocations: 23.8 kB / 1.379 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.5642, allocations: 3.953 kB / 1.379 GB, free: 15.65 MB / 0.8855 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.0001003/0.5643, allocations: 113.8 kB / 1.379 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.5643, allocations: 11.84 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/0.5648, allocations: 145.5 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5648, allocations: 4 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5648, allocations: 0 / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.5648, allocations: 4 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.565, allocations: 181.6 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.565, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.5651, allocations: 23.92 kB / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5651, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.5651, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5652, allocations: 0 / 1.38 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5652, allocations: 4 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.5656, allocations: 247.2 kB / 1.38 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.607e-05/0.5657, allocations: 81.44 kB / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.5657, allocations: 0 / 1.38 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.5658, allocations: 15.98 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.5659, allocations: 7.984 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.5659, allocations: 4 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.767e-05/0.5659, allocations: 103.3 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.566, allocations: 0 / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002259/0.5662, allocations: 8 kB / 1.38 GB, free: 14.61 MB / 0.8855 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.0001815/0.5664, allocations: 104 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.5668, allocations: 107.8 kB / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5668, allocations: 0 / 1.38 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.5669, allocations: 51.97 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.5671, allocations: 15.94 kB / 1.38 GB, free: 14.33 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.5675, allocations: 164.6 kB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.5678, allocations: 0.6887 MB / 1.381 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.5679, allocations: 4 kB / 1.381 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.427e-05/0.5679, allocations: 7.438 kB / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of SimCode: time 3.4e-07/0.5679, allocations: 0 / 1.381 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.002942/0.5709, allocations: 0.6322 MB / 1.382 GB, free: 12.79 MB / 0.8855 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