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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001318/0.001319, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 12 kB / 0.8708 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8974/0.8978, allocations: 153.7 MB / 1.021 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002514/0.9004, allocations: 1.203 MB / 1.022 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0004346/0.9009, allocations: 100.6 kB / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.069e-05/0.901, allocations: 0 / 1.022 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.887e-05/0.901, allocations: 3.938 kB / 1.022 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.153e-05/0.9011, allocations: 7.984 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.9014, allocations: 15.98 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.9015, allocations: 27.97 kB / 1.022 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.9017, allocations: 11.92 kB / 1.022 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.712e-05/0.9017, allocations: 19.97 kB / 1.022 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.019e-05/0.9018, allocations: 15.92 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.9018, allocations: 4 kB / 1.022 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.901e-05/0.9019, allocations: 11.98 kB / 1.022 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.508e-05/0.902, allocations: 15.92 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.381e-05/0.902, allocations: 29.7 kB / 1.022 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.9021, allocations: 31.88 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.9021, allocations: 12 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.064e-06/0.9021, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.9022, allocations: 0 / 1.022 GB, free: 15.71 MB / 0.7794 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.0005634/0.9027, allocations: 377.2 kB / 1.023 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.9028, allocations: 15.98 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.9028, allocations: 11.89 kB / 1.023 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.903, allocations: 174.9 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.903, allocations: 4 kB / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.903, allocations: 0 / 1.023 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.9033, allocations: 93.59 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.9033, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.9034, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.9034, allocations: 0 / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.9037, allocations: 99.92 kB / 1.023 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/0.9041, allocations: 288.8 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.9044, allocations: 78.53 kB / 1.023 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.9047, allocations: 109.2 kB / 1.023 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.9047, allocations: 30.56 kB / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 2.495e-06/0.9048, allocations: 0 / 1.023 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0006808/0.9054, allocations: 185.4 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.9055, allocations: 51.41 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.9056, allocations: 132.8 kB / 1.024 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.9057, allocations: 25.7 kB / 1.024 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.9057, allocations: 92.12 kB / 1.024 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.9058, allocations: 11.91 kB / 1.024 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.9058, allocations: 3.938 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.906, allocations: 314.8 kB / 1.024 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.9061, allocations: 47.95 kB / 1.024 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.9063, allocations: 51.95 kB / 1.024 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.9065, allocations: 43.97 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9065, allocations: 4 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000355/0.9068, allocations: 145.4 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.9069, allocations: 5.719 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9069, allocations: 0 / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.9069, allocations: 3.938 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.907, allocations: 19.98 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.907, allocations: 0 / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.9071, allocations: 23.92 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.9072, allocations: 0 / 1.025 GB, free: 13.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.853e-05/0.9073, allocations: 117.8 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.164e-05/0.9073, allocations: 11.86 kB / 1.025 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004126/0.9077, allocations: 137.5 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.9077, allocations: 0 / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9077, allocations: 3.984 kB / 1.025 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.9077, allocations: 7.938 kB / 1.025 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001987/0.908, allocations: 177.7 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.908, allocations: 3.984 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.9081, allocations: 23.98 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.9081, allocations: 3.953 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9081, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9081, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.9081, allocations: 0 / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004217/0.9085, allocations: 231.4 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.9086, allocations: 81.53 kB / 1.025 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.9086, allocations: 3.953 kB / 1.025 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.9087, allocations: 15.98 kB / 1.025 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.9088, allocations: 3.984 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.9088, allocations: 4 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.036e-05/0.9089, allocations: 103.3 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.904e-06/0.9089, allocations: 0 / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002359/0.9091, allocations: 11.94 kB / 1.026 GB, free: 12.07 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 (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.0001763/0.9093, allocations: 99.23 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003855/0.9097, allocations: 107.9 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.9097, allocations: 0 / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.9099, allocations: 51.95 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.91, allocations: 15.88 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.9104, allocations: 160.6 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.9108, allocations: 0.6926 MB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.9108, allocations: 0 / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.9108, allocations: 7.438 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.9108, allocations: 4 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.003107/0.914, allocations: 0.6274 MB / 1.027 GB, free: 10.25 MB / 0.7794 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