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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00127/0.00127, allocations: 104.1 kB / 15.78 MB, free: 5.98 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.001214/0.001214, allocations: 198.2 kB / 16.72 MB, free: 5.836 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.41/1.41, allocations: 225.6 MB / 243.1 MB, free: 3.715 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.804/2.804, allocations: 489.4 MB / 0.7669 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.91 kB / 1.115 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9973/0.9993, allocations: 172 MB / 1.283 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.002771/1.002, allocations: 1.495 MB / 1.284 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003236/1.002, allocations: 106.3 kB / 1.284 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/1.002, allocations: 1.125 kB / 1.284 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.715e-05/1.002, allocations: 5.109 kB / 1.284 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.101e-05/1.003, allocations: 18.06 kB / 1.284 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/1.003, allocations: 19.97 kB / 1.284 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.521e-05/1.003, allocations: 41.06 kB / 1.284 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/1.003, allocations: 8.797 kB / 1.284 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.4e-05/1.003, allocations: 17.69 kB / 1.284 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.243e-05/1.003, allocations: 22.73 kB / 1.284 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/1.003, allocations: 3.688 kB / 1.284 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/1.003, allocations: 24.36 kB / 1.284 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/1.003, allocations: 16.88 kB / 1.284 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.778e-05/1.003, allocations: 23.67 kB / 1.284 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/1.003, allocations: 57.33 kB / 1.284 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.003, allocations: 0 / 1.284 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/1.003, allocations: 0 / 1.284 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.552e-06/1.003, allocations: 1.5 kB / 1.284 GB, free: 4.125 MB / 0.9981 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.0006177/1.004, allocations: 380.2 kB / 1.285 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/1.004, allocations: 9.469 kB / 1.285 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/1.004, allocations: 8.609 kB / 1.285 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.004, allocations: 184.9 kB / 1.285 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.004, allocations: 1.406 kB / 1.285 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.034e-05/1.004, allocations: 2.656 kB / 1.285 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000278/1.005, allocations: 73.66 kB / 1.285 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/1.005, allocations: 4.125 kB / 1.285 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/1.005, allocations: 8.641 kB / 1.285 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.005, allocations: 5.219 kB / 1.285 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003165/1.005, allocations: 76.16 kB / 1.285 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/1.005, allocations: 284.1 kB / 1.285 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/1.006, allocations: 67.5 kB / 1.286 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/1.006, allocations: 49.19 kB / 1.286 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/1.006, allocations: 109.1 kB / 1.286 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.006, allocations: 32.44 kB / 1.286 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/1.006, allocations: 0 / 1.286 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0006217/1.007, allocations: 147.1 kB / 1.286 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.007, allocations: 53.45 kB / 1.286 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/1.007, allocations: 124 kB / 1.286 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/1.007, allocations: 25.7 kB / 1.286 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.153e-05/1.007, allocations: 100.4 kB / 1.286 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/1.007, allocations: 10.7 kB / 1.286 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.943e-05/1.007, allocations: 17.11 kB / 1.286 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.007, allocations: 319.4 kB / 1.286 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/1.007, allocations: 39.33 kB / 1.287 GB, free: 2.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/1.007, allocations: 36.02 kB / 1.287 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/1.008, allocations: 79.98 kB / 1.287 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/1.008, allocations: 3.938 kB / 1.287 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003564/1.008, allocations: 112.1 kB / 1.287 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/1.008, allocations: 5.406 kB / 1.287 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.008, allocations: 5.609 kB / 1.287 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.008, allocations: 0 / 1.287 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/1.008, allocations: 16.62 kB / 1.287 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/1.008, allocations: 3.984 kB / 1.287 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.84e-05/1.008, allocations: 11.23 kB / 1.287 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/1.008, allocations: 5.062 kB / 1.287 GB, free: 2.199 MB / 0.9981 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.539e-05/1.008, allocations: 120.7 kB / 1.287 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.923e-05/1.009, allocations: 10.02 kB / 1.287 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003885/1.009, allocations: 117.2 kB / 1.287 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/1.009, allocations: 0 / 1.287 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/1.009, allocations: 0.5625 kB / 1.287 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.009, allocations: 5.562 kB / 1.287 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/1.009, allocations: 182.8 kB / 1.287 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.009, allocations: 4.75 kB / 1.287 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.62e-05/1.009, allocations: 19.81 kB / 1.287 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/1.009, allocations: 0 / 1.287 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/1.009, allocations: 1.453 kB / 1.287 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.009, allocations: 1.125 kB / 1.287 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/1.009, allocations: 3.938 kB / 1.287 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003997/1.01, allocations: 213.6 kB / 1.287 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/1.01, allocations: 86.28 kB / 1.288 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/1.01, allocations: 2.219 kB / 1.288 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.01, allocations: 11.22 kB / 1.288 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/1.01, allocations: 6.906 kB / 1.288 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/1.01, allocations: 1.875 kB / 1.288 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.33e-05/1.01, allocations: 96.28 kB / 1.288 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.01, allocations: 0 / 1.288 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002388/1.01, allocations: 17.45 kB / 1.288 GB, free: 1.453 MB / 0.9981 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.0001469/1.01, allocations: 101.6 kB / 1.288 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000367/1.011, allocations: 80.05 kB / 1.288 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.011, allocations: 1.188 kB / 1.288 GB, free: 1.352 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/1.011, allocations: 46.62 kB / 1.288 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/1.011, allocations: 8.859 kB / 1.288 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/1.011, allocations: 148.4 kB / 1.288 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003066/1.012, allocations: 0.6904 MB / 1.289 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.973e-05/1.012, allocations: 2.328 kB / 1.289 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/1.012, allocations: 13.66 kB / 1.289 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of SimCode: time 4.01e-07/1.012, allocations: 0 / 1.289 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.003397/1.015, allocations: 0.8004 MB / 1.29 GB, free: 420 kB / 0.9981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches