Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001605/0.002774, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001168/0.002266, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9838/0.9838, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1029/1.087, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.874/1.874, allocations: 378.4 MB / 0.6079 GB, free: 7.703 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5713/2.445, allocations: 123.3 MB / 0.7283 GB, free: 5.742 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") translateModel(Buildings.Utilities.Math.Examples.Biquadratic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|biquadratic.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.579e-05, allocations: 3.297 kB / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003645/0.003671, allocations: 1.598 MB / 0.7312 GB, free: 2.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002833/0.003954, allocations: 108.3 kB / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.004015, allocations: 0 / 0.7313 GB, free: 2.734 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.764e-05/0.004083, allocations: 4.625 kB / 0.7313 GB, free: 2.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.445e-05/0.004157, allocations: 13.02 kB / 0.7313 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.00431, allocations: 19.97 kB / 0.7314 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.004437, allocations: 47.72 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.004551, allocations: 16.86 kB / 0.7314 GB, free: 2.652 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.004683, allocations: 25.41 kB / 0.7314 GB, free: 2.629 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.046e-05/0.004774, allocations: 22.36 kB / 0.7315 GB, free: 2.609 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.004799, allocations: 4 kB / 0.7315 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.004916, allocations: 23.92 kB / 0.7315 GB, free: 2.582 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.448e-05/0.004981, allocations: 10.52 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.084e-05/0.005012, allocations: 10.41 kB / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.005173, allocations: 40.02 kB / 0.7316 GB, free: 2.531 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-05/0.005191, allocations: 3.938 kB / 0.7316 GB, free: 2.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.302e-06/0.005192, allocations: 0.75 kB / 0.7316 GB, free: 2.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.739e-05/0.00521, allocations: 0 / 0.7316 GB, free: 2.527 MB / 0.698 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.0005405/0.00575, allocations: 269.9 kB / 0.7318 GB, free: 2.238 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.0058, allocations: 12.03 kB / 0.7318 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.005846, allocations: 5.578 kB / 0.7318 GB, free: 2.223 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.005967, allocations: 122.2 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.00598, allocations: 1.875 kB / 0.7319 GB, free: 2.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.005995, allocations: 4.375 kB / 0.732 GB, free: 2.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.00618, allocations: 65.77 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.006189, allocations: 1.219 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.006198, allocations: 4.312 kB / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.934e-06/0.006205, allocations: 384 / 0.732 GB, free: 1.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.701e-05/0.006242, allocations: 20.36 kB / 0.732 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002906/0.006532, allocations: 159.5 kB / 0.7322 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.297e-05/0.006625, allocations: 69.38 kB / 0.7323 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.298e-05/0.006648, allocations: 12.86 kB / 0.7323 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.006802, allocations: 34.08 kB / 0.7323 GB, free: 1.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.006831, allocations: 38.55 kB / 0.7323 GB, free: 1.633 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.914e-06/0.006833, allocations: 4 kB / 0.7323 GB, free: 1.629 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001505/0.006984, allocations: 47.22 kB / 0.7324 GB, free: 1.578 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.423e-05/0.007018, allocations: 55.41 kB / 0.7324 GB, free: 1.512 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.853e-05/0.007106, allocations: 126.2 kB / 0.7326 GB, free: 1.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.007118, allocations: 29.7 kB / 0.7326 GB, free: 1.344 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.007158, allocations: 89.42 kB / 0.7327 GB, free: 1.254 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.007182, allocations: 15.84 kB / 0.7327 GB, free: 1.238 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.007213, allocations: 9.719 kB / 0.7327 GB, free: 1.223 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.76e-05/0.00731, allocations: 322.8 kB / 0.733 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.007328, allocations: 7.484 kB / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.293e-05/0.007341, allocations: 1.125 kB / 0.733 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.189e-05/0.007383, allocations: 23.61 kB / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.007385, allocations: 0 / 0.733 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.02e-05/0.007466, allocations: 42.59 kB / 0.7331 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.007482, allocations: 8 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.007487, allocations: 0 / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.007501, allocations: 4.719 kB / 0.7331 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.735e-05/0.007598, allocations: 11.98 kB / 0.7331 GB, free: 0.793 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.007603, allocations: 4.609 kB / 0.7331 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.185e-05/0.007634, allocations: 4.906 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.007641, allocations: 0 / 0.7331 GB, free: 0.7852 MB / 0.698 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 6.435e-05/0.007706, allocations: 113.3 kB / 0.7332 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.007732, allocations: 9.453 kB / 0.7332 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/0.007842, allocations: 49.62 kB / 0.7333 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.007845, allocations: 3.938 kB / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.007846, allocations: 0 / 0.7333 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.007851, allocations: 5.328 kB / 0.7333 GB, free: 0.5859 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.007981, allocations: 73.89 kB / 0.7334 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007983, allocations: 3.938 kB / 0.7334 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.494e-05/0.008047, allocations: 11.98 kB / 0.7334 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.008057, allocations: 5.203 kB / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.00806, allocations: 0 / 0.7334 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.008068, allocations: 8 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.00807, allocations: 1.25 kB / 0.7334 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.008073, allocations: 7.922 kB / 0.7334 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.008199, allocations: 186.6 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.00821, allocations: 0.9375 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.00828, allocations: 4 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.008321, allocations: 4.516 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.008331, allocations: 15.94 kB / 0.7336 GB, free: 244 kB / 0.698 GB Notification: Performance of sorting global known variables: time 2.78e-05/0.008359, allocations: 17.97 kB / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.008359, allocations: 0 / 0.7336 GB, free: 224 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002108/0.008569, allocations: 8 kB / 0.7336 GB, free: 216 kB / 0.698 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.0001429/0.008712, allocations: 77.23 kB / 0.7337 GB, free: 132 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.135e-05/0.008794, allocations: 26.09 kB / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.008802, allocations: 0 / 0.7337 GB, free: 104 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.008845, allocations: 23.67 kB / 0.7337 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.009106, allocations: 68.72 kB / 0.7338 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.00962, allocations: 146.7 kB / 0.7339 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.009667, allocations: 61.22 kB / 0.734 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.009697, allocations: 7.938 kB / 0.734 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.512e-05/0.009763, allocations: 55.38 kB / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of SimCode: time 8.61e-07/0.009763, allocations: 0 / 0.7341 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.002835/0.0126, allocations: 0.8181 MB / 0.7349 GB, free: 14.91 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic/Buildings_12_Buildings.Utilities.Math.Examples.Biquadratic.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.8514144299551845]