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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001683/0.001683, allocations: 114.9 kB / 16.37 MB, free: 5.539 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.001926/0.001926, allocations: 189.4 kB / 17.3 MB, free: 5.18 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.359/1.359, 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 9.1.2-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.92 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2798, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003155/0.283, allocations: 1.499 MB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002934/0.2833, allocations: 96.58 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.2834, allocations: 0 / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.672e-05/0.2834, allocations: 7.938 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.2835, allocations: 7.922 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002146/0.2837, allocations: 19.97 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.827e-05/0.2838, allocations: 55.72 kB / 0.9528 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2839, allocations: 8 kB / 0.9528 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.284, allocations: 19.92 kB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.2841, allocations: 19.92 kB / 0.9528 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.2841, allocations: 4 kB / 0.9528 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.2841, allocations: 23.98 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2842, allocations: 11.97 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.826e-05/0.2843, allocations: 23.86 kB / 0.9529 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.2844, allocations: 51.81 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.2844, allocations: 8 kB / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2844, allocations: 0 / 0.9529 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2844, allocations: 0 / 0.9529 GB, free: 6.184 MB / 0.7325 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.0006071/0.285, allocations: 383.1 kB / 0.9533 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2851, allocations: 11.97 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.2851, allocations: 8.844 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.2852, allocations: 176.2 kB / 0.9535 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.2853, allocations: 4.375 kB / 0.9535 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.2853, allocations: 8.312 kB / 0.9535 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.2855, allocations: 78.2 kB / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2855, allocations: 192 / 0.9536 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2856, allocations: 3.938 kB / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.2856, allocations: 0 / 0.9536 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002982/0.2859, allocations: 71.92 kB / 0.9536 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.2862, allocations: 288.9 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2864, allocations: 66.47 kB / 0.954 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.2866, allocations: 44.92 kB / 0.954 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002293/0.2868, allocations: 113.1 kB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.2869, allocations: 30.56 kB / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.2869, allocations: 0 / 0.9542 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000525/0.2874, allocations: 153.4 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.2874, allocations: 51.41 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.2875, allocations: 125.8 kB / 0.9545 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.2876, allocations: 25.7 kB / 0.9545 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.008e-05/0.2876, allocations: 100.1 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.76e-05/0.2876, allocations: 3.906 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-05/0.2877, allocations: 17.72 kB / 0.9546 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.2878, allocations: 318.8 kB / 0.9549 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.288, allocations: 35.95 kB / 0.955 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.2881, allocations: 39.95 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.2883, allocations: 80.78 kB / 0.9551 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2884, allocations: 3.938 kB / 0.9551 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003027/0.2887, allocations: 113.8 kB / 0.9552 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.2887, allocations: 7.938 kB / 0.9552 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.2887, allocations: 7.984 kB / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2887, allocations: 0 / 0.9552 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.2889, allocations: 15.98 kB / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.2889, allocations: 0 / 0.9552 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.2889, allocations: 11.98 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.289, allocations: 3.984 kB / 0.9552 GB, free: 3.586 MB / 0.7325 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 8.956e-05/0.2891, allocations: 121.8 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.2891, allocations: 7.906 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.2894, allocations: 121.5 kB / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2895, allocations: 0 / 0.9555 GB, free: 3.316 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2895, allocations: 3.938 kB / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2895, allocations: 0 / 0.9555 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.2897, allocations: 185.6 kB / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2897, allocations: 0 / 0.9556 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.679e-05/0.2898, allocations: 23.97 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2898, allocations: 0 / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.2898, allocations: 4 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2898, allocations: 0 / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2898, allocations: 0 / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.2902, allocations: 215.2 kB / 0.9559 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.2902, allocations: 77.11 kB / 0.956 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.2903, allocations: 4 kB / 0.956 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2904, allocations: 11.98 kB / 0.956 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.2904, allocations: 4 kB / 0.956 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.2904, allocations: 3.984 kB / 0.956 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.2905, allocations: 99.27 kB / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2905, allocations: 0 / 0.9561 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002351/0.2907, allocations: 8 kB / 0.9561 GB, free: 2.605 MB / 0.7325 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.0001583/0.2909, allocations: 103.2 kB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.2913, allocations: 79.91 kB / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2913, allocations: 0 / 0.9563 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.2914, allocations: 43.91 kB / 0.9563 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.2917, allocations: 11.84 kB / 0.9563 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.292, allocations: 161.5 kB / 0.9565 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.2923, allocations: 0.6883 MB / 0.9571 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.76e-05/0.2923, allocations: 3.984 kB / 0.9571 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/0.2923, allocations: 7.438 kB / 0.9571 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.2923, allocations: 7.938 kB / 0.9571 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of Templates: time 0.00304/0.2954, allocations: 0.7963 MB / 0.9579 GB, free: 0.6562 MB / 0.7325 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Biquadratic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches