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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00124/0.00124, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001266/0.001266, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.208/2.208, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.88 kB / 0.8707 GB, free: 1.438 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.256, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002348/0.2584, allocations: 1.483 MB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002579/0.2586, allocations: 104.6 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.886e-05/0.2587, allocations: 0 / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.2587, allocations: 11.88 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.2588, allocations: 7.938 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.259, allocations: 23.91 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.102e-05/0.259, allocations: 39.91 kB / 1.02 GB, free: 8.156 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.059e-05/0.2591, allocations: 15.98 kB / 1.02 GB, free: 8.141 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.01e-05/0.2592, allocations: 15.92 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.614e-05/0.2592, allocations: 27.91 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.2593, allocations: 8 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.316e-05/0.2593, allocations: 11.98 kB / 1.02 GB, free: 8.078 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.2594, allocations: 15.94 kB / 1.021 GB, free: 8.062 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.999e-05/0.2594, allocations: 23.8 kB / 1.021 GB, free: 8.039 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2595, allocations: 59.8 kB / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2595, allocations: 0 / 1.021 GB, free: 7.98 MB / 0.795 GB Notification: Performance of FrontEnd: time 6.392e-06/0.2595, allocations: 4 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2595, allocations: 0 / 1.021 GB, free: 7.977 MB / 0.795 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.0004513/0.26, allocations: 383.1 kB / 1.021 GB, free: 7.551 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.034e-05/0.26, allocations: 12.92 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.2601, allocations: 8.844 kB / 1.021 GB, free: 7.531 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.869e-05/0.2602, allocations: 168.8 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.517e-06/0.2602, allocations: 384 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2602, allocations: 384 / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.2604, allocations: 82.14 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2604, allocations: 192 / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.2605, allocations: 3.938 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2605, allocations: 4 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.2607, allocations: 79.86 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.261, allocations: 280.9 kB / 1.022 GB, free: 6.832 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.2612, allocations: 74.47 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.2614, allocations: 40.92 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.2616, allocations: 105.1 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2616, allocations: 46.5 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2616, allocations: 0 / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004766/0.2621, allocations: 145.5 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.2621, allocations: 55.39 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.2622, allocations: 128.5 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2622, allocations: 29.7 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.2623, allocations: 96.06 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.2623, allocations: 7.812 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.2624, allocations: 17.72 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.751e-05/0.2625, allocations: 318.8 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.2626, allocations: 35.97 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.2627, allocations: 43.89 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.263, allocations: 76.78 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.263, allocations: 3.938 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002812/0.2633, allocations: 113.6 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2633, allocations: 7.938 kB / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2633, allocations: 0 / 1.023 GB, free: 5.414 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.2633, allocations: 4 kB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.2634, allocations: 11.98 kB / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.2634, allocations: 0 / 1.023 GB, free: 5.398 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.341e-05/0.2635, allocations: 11.98 kB / 1.023 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.2635, allocations: 0 / 1.023 GB, free: 5.387 MB / 0.795 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 6.566e-05/0.2636, allocations: 130.4 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2636, allocations: 7.906 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.2639, allocations: 113.5 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.2639, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.264, allocations: 0 / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.264, allocations: 3.984 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.2641, allocations: 189.6 kB / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2641, allocations: 0 / 1.023 GB, free: 4.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.2642, allocations: 19.97 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2642, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.2642, allocations: 0 / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.2642, allocations: 3.938 kB / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2642, allocations: 0 / 1.023 GB, free: 4.859 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003119/0.2646, allocations: 219.6 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.138e-05/0.2646, allocations: 85.05 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.2646, allocations: 0 / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2647, allocations: 15.98 kB / 1.024 GB, free: 4.512 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.2648, allocations: 3.984 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.2648, allocations: 8 kB / 1.024 GB, free: 4.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.103e-05/0.2648, allocations: 99.27 kB / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.2648, allocations: 0 / 1.024 GB, free: 4.402 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002169/0.2651, allocations: 12 kB / 1.024 GB, free: 4.391 MB / 0.795 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.0001181/0.2652, allocations: 99.25 kB / 1.024 GB, free: 4.281 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002974/0.2655, allocations: 79.84 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2655, allocations: 4 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.2656, allocations: 47.95 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2659, allocations: 3.938 kB / 1.024 GB, free: 4.148 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.2662, allocations: 149.5 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.2664, allocations: 0.6923 MB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.2664, allocations: 8 kB / 1.025 GB, free: 3.25 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.2664, allocations: 7.438 kB / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.2664, allocations: 0 / 1.025 GB, free: 3.242 MB / 0.795 GB Notification: Performance of Templates: time 0.002613/0.269, allocations: 0.787 MB / 1.026 GB, free: 2.465 MB / 0.795 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=480 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches