Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_9_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.008007/0.008007, allocations: 103.4 kB / 15.73 MB, free: 6.059 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.001522/0.001523, allocations: 186.1 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.212/2.212, allocations: 390.2 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 63.89 kB / 0.9508 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003123/1.007, allocations: 1.481 MB / 1.089 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003953/1.007, allocations: 113.9 kB / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.001e-05/1.007, allocations: 0 / 1.089 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.181e-05/1.007, allocations: 6.234 kB / 1.089 GB, free: 4.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.56e-05/1.007, allocations: 5.656 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/1.008, allocations: 24.09 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001208/1.008, allocations: 48.62 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/1.008, allocations: 9.844 kB / 1.09 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/1.008, allocations: 18.12 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.965e-05/1.008, allocations: 26.75 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/1.008, allocations: 4.25 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.664e-05/1.008, allocations: 15.27 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/1.008, allocations: 18.22 kB / 1.09 GB, free: 4.324 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/1.008, allocations: 18.56 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001985/1.009, allocations: 60.55 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/1.009, allocations: 0.6094 kB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.554e-06/1.009, allocations: 0 / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.703e-06/1.009, allocations: 1.25 kB / 1.09 GB, free: 4.285 MB / 0.8575 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.0006592/1.009, allocations: 374.5 kB / 1.09 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.009, allocations: 13.34 kB / 1.09 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/1.01, allocations: 8.219 kB / 1.09 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/1.01, allocations: 178.1 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/1.01, allocations: 5.344 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/1.01, allocations: 2.406 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/1.01, allocations: 73.05 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/1.01, allocations: 1.25 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/1.01, allocations: 7.922 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/1.01, allocations: 1.891 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003775/1.01, allocations: 79.78 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/1.011, allocations: 279.4 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/1.011, allocations: 68.25 kB / 1.091 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/1.011, allocations: 49.67 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003061/1.012, allocations: 106.2 kB / 1.091 GB, free: 3.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.012, allocations: 32.5 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/1.012, allocations: 0 / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0006323/1.012, allocations: 155 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/1.012, allocations: 52.53 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/1.013, allocations: 125.1 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/1.013, allocations: 25.7 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/1.013, allocations: 92.75 kB / 1.091 GB, free: 2.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/1.013, allocations: 14.19 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/1.013, allocations: 17.53 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/1.013, allocations: 319.5 kB / 1.092 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/1.013, allocations: 35.16 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/1.013, allocations: 35.81 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/1.013, allocations: 78.95 kB / 1.092 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/1.013, allocations: 9.469 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000339/1.014, allocations: 111.8 kB / 1.092 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/1.014, allocations: 10.23 kB / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/1.014, allocations: 0 / 1.092 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/1.014, allocations: 5.031 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/1.014, allocations: 15.19 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.014, allocations: 1.156 kB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/1.014, allocations: 14.64 kB / 1.092 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/1.014, allocations: 2.328 kB / 1.092 GB, free: 2.375 MB / 0.8575 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 7.075e-05/1.014, allocations: 118.6 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/1.014, allocations: 7.703 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/1.015, allocations: 126.7 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/1.015, allocations: 0.6875 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.015, allocations: 1.344 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/1.015, allocations: 0 / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/1.015, allocations: 183.6 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/1.015, allocations: 0.8438 kB / 1.092 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.802e-05/1.015, allocations: 19.69 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.015, allocations: 0.8906 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/1.015, allocations: 0.8438 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.015, allocations: 0.6875 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.015, allocations: 0.5156 kB / 1.092 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/1.015, allocations: 221.2 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/1.015, allocations: 83.34 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.015, allocations: 0.7969 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/1.015, allocations: 10.89 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/1.016, allocations: 8.875 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.016, allocations: 1.469 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.578e-05/1.016, allocations: 99.89 kB / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.9e-07/1.016, allocations: 0 / 1.093 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000234/1.016, allocations: 13.2 kB / 1.093 GB, free: 1.633 MB / 0.8575 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.0001459/1.016, allocations: 102.8 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003567/1.016, allocations: 76.14 kB / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.016, allocations: 0 / 1.093 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/1.017, allocations: 51.75 kB / 1.093 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/1.017, allocations: 11.27 kB / 1.093 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/1.017, allocations: 152.4 kB / 1.093 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/1.017, allocations: 0.6901 MB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.365e-05/1.017, allocations: 2.078 kB / 1.094 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/1.018, allocations: 9.281 kB / 1.094 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of SimCode: time 9.01e-07/1.018, allocations: 7.938 kB / 1.094 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of Templates: time 0.004259/1.022, allocations: 0.8068 MB / 1.095 GB, free: 0.5781 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Biquadratic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches