Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.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.001353/0.001353, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001443/0.001443, allocations: 161.4 kB / 22.45 MB, free: 5.375 MB / 14.72 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.423/1.423, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.929/2.929, allocations: 389 MB / 0.633 GB, free: 0.9766 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.857e-06/3.857e-06, allocations: 3.984 kB / 1 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/3.12e-05, allocations: 4.953 kB / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002723/0.002754, allocations: 1.469 MB / 1.002 GB, free: 5.785 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003262/0.003081, allocations: 83.69 kB / 1.002 GB, free: 5.703 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.887e-05/0.00311, allocations: 4 kB / 1.002 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 6.611e-05/0.003176, allocations: 3.938 kB / 1.002 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.783e-05/0.003213, allocations: 3.938 kB / 1.002 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.00349, allocations: 19.97 kB / 1.002 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.003579, allocations: 23.92 kB / 1.002 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.003679, allocations: 7.984 kB / 1.002 GB, free: 5.641 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.003725, allocations: 8 kB / 1.002 GB, free: 5.633 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.289e-05/0.003758, allocations: 7.984 kB / 1.002 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.003778, allocations: 4 kB / 1.002 GB, free: 5.621 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.003864, allocations: 19.97 kB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.003912, allocations: 11.94 kB / 1.002 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.003931, allocations: 3.984 kB / 1.002 GB, free: 5.586 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.004063, allocations: 39.83 kB / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004066, allocations: 0 / 1.002 GB, free: 5.547 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.92e-07/0.004067, allocations: 4 kB / 1.002 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.004071, allocations: 0 / 1.002 GB, free: 5.543 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004913/0.004562, allocations: 270.2 kB / 1.002 GB, free: 5.246 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.004601, allocations: 8.031 kB / 1.002 GB, free: 5.238 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.004635, allocations: 8.922 kB / 1.002 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.00476, allocations: 109.8 kB / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.004772, allocations: 384 / 1.002 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.004787, allocations: 4.375 kB / 1.002 GB, free: 5.094 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.004987, allocations: 50.23 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.004999, allocations: 4.188 kB / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.005006, allocations: 384 / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005011, allocations: 384 / 1.002 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.005196, allocations: 47.83 kB / 1.002 GB, free: 4.988 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000349/0.005545, allocations: 192.6 kB / 1.002 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.005697, allocations: 42.59 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.005801, allocations: 32.84 kB / 1.003 GB, free: 4.684 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.00584, allocations: 4 kB / 1.003 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.00587, allocations: 34.56 kB / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.005871, allocations: 0 / 1.003 GB, free: 4.637 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0004122/0.006283, allocations: 97.5 kB / 1.003 GB, free: 4.535 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.006335, allocations: 51.41 kB / 1.003 GB, free: 4.473 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.00645, allocations: 101.9 kB / 1.003 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.006471, allocations: 25.7 kB / 1.003 GB, free: 4.332 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.054e-05/0.006541, allocations: 100.2 kB / 1.003 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.00656, allocations: 3.953 kB / 1.003 GB, free: 4.227 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.006595, allocations: 13.72 kB / 1.003 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.006752, allocations: 314.8 kB / 1.003 GB, free: 3.891 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.006843, allocations: 19.97 kB / 1.003 GB, free: 3.871 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.677e-05/0.00692, allocations: 15.98 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.007083, allocations: 44.89 kB / 1.003 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.007084, allocations: 3.938 kB / 1.003 GB, free: 3.805 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002151/0.007299, allocations: 65.66 kB / 1.003 GB, free: 3.734 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.00732, allocations: 8 kB / 1.003 GB, free: 3.727 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.007327, allocations: 3.938 kB / 1.003 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.007342, allocations: 0 / 1.003 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.275e-05/0.007435, allocations: 7.984 kB / 1.003 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.007439, allocations: 4 kB / 1.003 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.007488, allocations: 12.02 kB / 1.003 GB, free: 3.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.007496, allocations: 7.938 kB / 1.003 GB, free: 3.691 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 (2): * Single equations (assignments): 2 * 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.71e-05/0.007583, allocations: 106.4 kB / 1.004 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.007609, allocations: 4 kB / 1.004 GB, free: 3.574 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.007882, allocations: 85.14 kB / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.007884, allocations: 0 / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.007889, allocations: 0 / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.007891, allocations: 0 / 1.004 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.008031, allocations: 117.3 kB / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.008031, allocations: 0 / 1.004 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.014e-05/0.008091, allocations: 8 kB / 1.004 GB, free: 3.332 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.008095, allocations: 3.984 kB / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.008102, allocations: 0 / 1.004 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.008106, allocations: 3.938 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.008109, allocations: 4.234 kB / 1.004 GB, free: 3.32 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.008376, allocations: 163.5 kB / 1.004 GB, free: 3.145 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.008386, allocations: 12.03 kB / 1.004 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.581e-05/0.008402, allocations: 4 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.008479, allocations: 11.88 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.008525, allocations: 3.984 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.008528, allocations: 3.938 kB / 1.004 GB, free: 3.109 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.409e-05/0.008582, allocations: 87.28 kB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of sort global known variables: time 6e-08/0.008582, allocations: 0 / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002265/0.008809, allocations: 4 kB / 1.004 GB, free: 3.02 MB / 0.9512 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 (2): * Single equations (assignments): 2 * 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.0001688/0.008978, allocations: 99.98 kB / 1.004 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.009207, allocations: 43.97 kB / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.009209, allocations: 0 / 1.004 GB, free: 2.871 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.603e-05/0.009305, allocations: 23.97 kB / 1.004 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.0096, allocations: 4 kB / 1.004 GB, free: 2.844 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.009932, allocations: 112.8 kB / 1.004 GB, free: 2.707 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.371e-05/0.01001, allocations: 63.47 kB / 1.004 GB, free: 2.625 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.325e-05/0.01003, allocations: 4 kB / 1.004 GB, free: 2.621 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.235e-05/0.01006, allocations: 16.5 kB / 1.004 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of SimCode: time 4e-07/0.01006, allocations: 0 / 1.004 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of Templates: time 0.003286/0.01335, allocations: 0.543 MB / 1.005 GB, free: 2.07 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.883800186216831]