Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 192.4 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.763/2.763, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.00202, allocations: 63.91 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5741/0.5762, allocations: 151.6 MB / 1.017 GB, free: 2.742 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002974/0.5792, allocations: 1.55 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00029/0.5795, allocations: 104.6 kB / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.5795, allocations: 0 / 1.018 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.9e-05/0.5796, allocations: 7.922 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.262e-05/0.5797, allocations: 11.92 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001942/0.5799, allocations: 15.98 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.508e-05/0.58, allocations: 43.84 kB / 1.018 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.075e-05/0.5801, allocations: 8 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.018e-05/0.5801, allocations: 19.98 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.5802, allocations: 27.8 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.5802, allocations: 4 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-05/0.5803, allocations: 19.98 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.747e-05/0.5803, allocations: 7.984 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.5804, allocations: 27.84 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.5805, allocations: 55.81 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5805, allocations: 0 / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5805, allocations: 3.938 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5806, allocations: 4 kB / 1.019 GB, free: 0.8242 MB / 0.7637 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.000598/0.5812, allocations: 377.2 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5812, allocations: 12.03 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.5812, allocations: 4.844 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.5814, allocations: 172.2 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.5814, allocations: 8.375 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.5814, allocations: 384 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002876/0.5817, allocations: 74.2 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5818, allocations: 8.188 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.5818, allocations: 7.875 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.5818, allocations: 3.984 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.5821, allocations: 71.92 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004355/0.5825, allocations: 288.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.5828, allocations: 66.47 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.583, allocations: 44.92 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.5832, allocations: 117 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.5833, allocations: 34.56 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.5833, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005664/0.5839, allocations: 149.5 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.5839, allocations: 51.41 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.584, allocations: 125.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.5841, allocations: 25.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.789e-05/0.5841, allocations: 96.12 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.86e-05/0.5842, allocations: 3.906 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.5842, allocations: 21.72 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.5843, allocations: 314.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.5845, allocations: 39.97 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.5847, allocations: 43.89 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.585, allocations: 76.78 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.585, allocations: 3.938 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003337/0.5853, allocations: 113.5 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.5853, allocations: 7.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5853, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5854, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.5855, allocations: 11.98 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5855, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.783e-05/0.5856, allocations: 23.92 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.5856, allocations: 0 / 1.021 GB, free: 14.23 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.164e-05/0.5857, allocations: 125.7 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.5857, allocations: 7.906 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.5861, allocations: 117.5 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.5861, allocations: 3.938 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.5861, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5861, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.5864, allocations: 181.6 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5864, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.5865, allocations: 23.97 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5865, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.5865, allocations: 384 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5865, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.5865, allocations: 0 / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003865/0.5869, allocations: 227.2 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.5869, allocations: 77.11 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.587, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.5871, allocations: 15.98 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.5871, allocations: 3.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.5871, allocations: 4 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.969e-05/0.5872, allocations: 103.3 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5872, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002379/0.5875, allocations: 8 kB / 1.022 GB, free: 13.24 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.5876, allocations: 99.78 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003493/0.588, allocations: 87.84 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.588, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.5882, allocations: 39.97 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.5884, allocations: 11.92 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003485/0.5888, allocations: 157.5 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.5891, allocations: 0.6846 MB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.5891, allocations: 3.984 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.5891, allocations: 11.44 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5892, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.003118/0.5923, allocations: 0.6925 MB / 1.024 GB, free: 11.41 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches