Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.001115/0.001115, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001827/0.002942, 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.001206/0.001206, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001962/0.003168, 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 1.004/1.004, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09811/1.102, allocations: 53.67 MB / 243.4 MB, free: 15.51 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.878/1.878, allocations: 378.4 MB / 0.6079 GB, free: 7.711 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4695/2.348, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7297 GB, free: 4.359 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.036e-05, allocations: 6.797 kB / 0.7297 GB, free: 4.352 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00116/0.00118, allocations: 0.6594 MB / 0.7304 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 7.94e-05/0.00126, allocations: 28.44 kB / 0.7304 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.167e-05/0.001271, allocations: 0.7656 kB / 0.7304 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.565e-05/0.001357, allocations: 0 / 0.7304 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.71e-07/0.001358, allocations: 0 / 0.7304 GB, free: 3.691 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001591/0.001517, allocations: 22.36 kB / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.001556, allocations: 1.094 kB / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.001592, allocations: 4 kB / 0.7304 GB, free: 3.668 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.04e-05/0.001623, allocations: 4.984 kB / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.725e-05/0.00165, allocations: 0 / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.00166, allocations: 0 / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.844e-05/0.001748, allocations: 20.47 kB / 0.7304 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.00176, allocations: 5.094 kB / 0.7304 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.207e-06/0.001769, allocations: 1.406 kB / 0.7304 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.232e-05/0.001851, allocations: 13.3 kB / 0.7305 GB, free: 3.629 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.03e-05/0.001862, allocations: 0 / 0.7305 GB, free: 3.629 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.01e-07/0.001862, allocations: 0.625 kB / 0.7305 GB, free: 3.629 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.001872, allocations: 0 / 0.7305 GB, free: 3.629 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002502/0.002123, allocations: 221.7 kB / 0.7307 GB, free: 3.387 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.002152, allocations: 8.031 kB / 0.7307 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.522e-05/0.002177, allocations: 1.594 kB / 0.7307 GB, free: 3.379 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.71e-05/0.002254, allocations: 106.5 kB / 0.7308 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.125e-06/0.002262, allocations: 1.156 kB / 0.7308 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.00227, allocations: 384 / 0.7308 GB, free: 3.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.274e-05/0.002332, allocations: 30.83 kB / 0.7308 GB, free: 3.215 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.002338, allocations: 4.172 kB / 0.7308 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.002344, allocations: 10.34 kB / 0.7308 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.002348, allocations: 384 / 0.7308 GB, free: 3.203 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.053e-05/0.002359, allocations: 8.766 kB / 0.7308 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.893e-05/0.002418, allocations: 57.05 kB / 0.7309 GB, free: 3.125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 2.9e-05/0.002447, allocations: 15.83 kB / 0.7309 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.297e-06/0.002456, allocations: 4.859 kB / 0.7309 GB, free: 3.094 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.002486, allocations: 8.031 kB / 0.7309 GB, free: 3.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.002504, allocations: 35.09 kB / 0.7309 GB, free: 3.043 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.002505, allocations: 1.719 kB / 0.731 GB, free: 3.043 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 6.961e-05/0.002574, allocations: 33.69 kB / 0.731 GB, free: 3.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.002598, allocations: 52.39 kB / 0.731 GB, free: 2.941 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.282e-05/0.002621, allocations: 93.86 kB / 0.7311 GB, free: 2.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.035e-05/0.002662, allocations: 26.52 kB / 0.7311 GB, free: 2.809 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.614e-05/0.002678, allocations: 80.14 kB / 0.7312 GB, free: 2.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.002703, allocations: 0.5 kB / 0.7312 GB, free: 2.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.14e-05/0.002725, allocations: 17.72 kB / 0.7312 GB, free: 2.703 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.002791, allocations: 320.4 kB / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.049e-06/0.002796, allocations: 0 / 0.7315 GB, free: 2.383 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.002801, allocations: 3.938 kB / 0.7316 GB, free: 2.379 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.002821, allocations: 10.42 kB / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.002823, allocations: 0 / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.949e-05/0.002852, allocations: 34.94 kB / 0.7316 GB, free: 2.328 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.002863, allocations: 8 kB / 0.7316 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.002867, allocations: 0 / 0.7316 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.856e-06/0.002876, allocations: 1.75 kB / 0.7316 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.048e-05/0.002926, allocations: 0.875 kB / 0.7316 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-06/0.002928, allocations: 0 / 0.7316 GB, free: 2.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.767e-06/0.002937, allocations: 4 kB / 0.7316 GB, free: 2.316 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.002947, allocations: 0 / 0.7316 GB, free: 2.316 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 (1): * Single equations (assignments): 1 * 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 4.536e-05/0.002992, allocations: 118.9 kB / 0.7317 GB, free: 2.191 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.026e-06/0.002995, allocations: 0 / 0.7317 GB, free: 2.191 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.003059, allocations: 42.48 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.00306, allocations: 0 / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.003061, allocations: 1.094 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.003064, allocations: 0.625 kB / 0.7318 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.387e-05/0.003108, allocations: 66.86 kB / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.00311, allocations: 0 / 0.7318 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.604e-05/0.003126, allocations: 4 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-06/0.003129, allocations: 0.5312 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.00313, allocations: 1.406 kB / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-06/0.003133, allocations: 0 / 0.7318 GB, free: 2.059 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.003134, allocations: 4 kB / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.21e-07/0.003134, allocations: 0 / 0.7318 GB, free: 2.055 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.151e-05/0.003176, allocations: 65.67 kB / 0.7319 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.342e-06/0.003182, allocations: 1.219 kB / 0.7319 GB, free: 1.977 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-06/0.003186, allocations: 4 kB / 0.7319 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-06/0.003195, allocations: 0 / 0.7319 GB, free: 1.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.003199, allocations: 4.875 kB / 0.7319 GB, free: 1.969 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.344e-06/0.003206, allocations: 6.281 kB / 0.7319 GB, free: 1.961 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.003206, allocations: 0 / 0.7319 GB, free: 1.961 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001013/0.003307, allocations: 9.125 kB / 0.7319 GB, free: 1.953 MB / 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 (1): * Single equations (assignments): 1 * 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.0001726/0.00348, allocations: 85.16 kB / 0.732 GB, free: 1.859 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.125e-05/0.003531, allocations: 8.859 kB / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.003534, allocations: 0.75 kB / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.063e-05/0.003545, allocations: 14.31 kB / 0.732 GB, free: 1.832 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.447e-05/0.0036, allocations: 18.92 kB / 0.732 GB, free: 1.816 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.003758, allocations: 78.38 kB / 0.7321 GB, free: 1.711 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.037e-05/0.003788, allocations: 51.36 kB / 0.7322 GB, free: 1.641 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.003811, allocations: 1.25 kB / 0.7322 GB, free: 1.641 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/0.003849, allocations: 56.61 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of SimCode: time 6.61e-07/0.00385, allocations: 0.7656 kB / 0.7322 GB, free: 1.586 MB / 0.698 GB Notification: Performance of Templates: time 0.002015/0.005865, allocations: 348.6 kB / 0.7326 GB, free: 1.262 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.884133737534285]