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.001183/0.001183, allocations: 110.8 kB / 16.42 MB, free: 6.473 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.001284/0.001284, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.438/1.438, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.78/2.78, allocations: 472.7 MB / 0.746 GB, free: 472 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 71.89 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003093/1.057, allocations: 1.488 MB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.000365/1.057, allocations: 103.7 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/1.057, allocations: 4 kB / 1.228 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.284e-05/1.057, allocations: 7.922 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.62e-05/1.057, allocations: 7.938 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/1.058, allocations: 19.97 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/1.058, allocations: 51.78 kB / 1.228 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/1.058, allocations: 11.98 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/1.058, allocations: 15.98 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/1.058, allocations: 23.86 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/1.058, allocations: 4 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.677e-05/1.058, allocations: 19.98 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/1.058, allocations: 15.98 kB / 1.228 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/1.058, allocations: 15.88 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/1.058, allocations: 64.28 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.058, allocations: 0 / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.283e-06/1.058, allocations: 0 / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.218e-05/1.058, allocations: 0 / 1.228 GB, free: 11.69 MB / 0.9512 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.0006061/1.059, allocations: 381.4 kB / 1.229 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/1.059, allocations: 12.03 kB / 1.229 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/1.059, allocations: 12.88 kB / 1.229 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.059, allocations: 176.3 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/1.059, allocations: 4.312 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/1.059, allocations: 384 / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/1.06, allocations: 78.2 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.06, allocations: 192 / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/1.06, allocations: 7.875 kB / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.06, allocations: 0 / 1.229 GB, free: 10.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002846/1.06, allocations: 79.92 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004083/1.06, allocations: 280.9 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/1.061, allocations: 78.47 kB / 1.229 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001483/1.061, allocations: 40.91 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/1.061, allocations: 109.1 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.378e-05/1.061, allocations: 30.56 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/1.061, allocations: 4 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005798/1.062, allocations: 145.5 kB / 1.23 GB, free: 10.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.062, allocations: 51.41 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/1.062, allocations: 129.2 kB / 1.23 GB, free: 9.898 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.062, allocations: 29.7 kB / 1.23 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/1.062, allocations: 100 kB / 1.23 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/1.062, allocations: 15.92 kB / 1.23 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/1.062, allocations: 13.72 kB / 1.23 GB, free: 9.727 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002489/1.062, allocations: 318.8 kB / 1.23 GB, free: 9.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/1.062, allocations: 35.95 kB / 1.23 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/1.063, allocations: 43.95 kB / 1.23 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/1.063, allocations: 76.78 kB / 1.23 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.063, allocations: 0 / 1.23 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003192/1.063, allocations: 121.5 kB / 1.23 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.063, allocations: 4 kB / 1.23 GB, free: 9.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.063, allocations: 4 kB / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/1.063, allocations: 0 / 1.23 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/1.063, allocations: 15.97 kB / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/1.063, allocations: 0 / 1.23 GB, free: 9.102 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/1.063, allocations: 11.98 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/1.063, allocations: 0 / 1.23 GB, free: 9.09 MB / 0.9512 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 0.0001051/1.064, allocations: 122.3 kB / 1.231 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/1.064, allocations: 7.953 kB / 1.231 GB, free: 8.953 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003954/1.064, allocations: 125.8 kB / 1.231 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/1.064, allocations: 0 / 1.231 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/1.064, allocations: 0 / 1.231 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.641e-05/1.064, allocations: 85.14 kB / 1.231 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/1.064, allocations: 0 / 1.231 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.064, allocations: 23.91 kB / 1.231 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.608e-05/1.064, allocations: 3.938 kB / 1.231 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004017/1.065, allocations: 196.8 kB / 1.231 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003905/1.065, allocations: 290.6 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001482/1.065, allocations: 39.95 kB / 1.231 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.238e-05/1.065, allocations: 95.27 kB / 1.231 GB, free: 8.055 MB / 0.9512 GB Notification: Performance of Backend: time 6.41e-07/1.065, allocations: 4 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005211/1.066, allocations: 124.1 kB / 1.232 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005677/1.066, allocations: 0.5881 MB / 1.232 GB, free: 7.289 MB / 0.9512 GB Notification: Performance of Templates: time 0.003796/1.07, allocations: 0.9854 MB / 1.233 GB, free: 6.312 MB / 0.9512 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches