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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001443/0.001443, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.434/1.434, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.918/2.918, allocations: 461.9 MB / 0.7342 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 73.31 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.336, allocations: 157.4 MB / 1.052 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00247/0.3385, allocations: 1.502 MB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003209/0.3389, allocations: 103.7 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.3389, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.261e-05/0.339, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.327e-05/0.339, allocations: 4 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001763/0.3392, allocations: 15.92 kB / 1.054 GB, free: 7.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.3393, allocations: 15.98 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.938e-05/0.3394, allocations: 12 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.282e-05/0.3394, allocations: 11.88 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.488e-05/0.3394, allocations: 15.92 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.3394, allocations: 0 / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.3395, allocations: 15.98 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.957e-05/0.3396, allocations: 11.97 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.3396, allocations: 7.938 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3397, allocations: 39.89 kB / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3397, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.52e-07/0.3397, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.3398, allocations: 0 / 1.054 GB, free: 7.051 MB / 0.8106 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.000416/0.3402, allocations: 351.6 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3402, allocations: 8.031 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.106e-05/0.3403, allocations: 4.938 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3404, allocations: 164.4 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.3404, allocations: 384 / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.106e-05/0.3404, allocations: 4.375 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.3406, allocations: 54.17 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.3406, allocations: 192 / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3406, allocations: 11.92 kB / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3406, allocations: 0 / 1.054 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.3408, allocations: 39.91 kB / 1.054 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.3411, allocations: 252.9 kB / 1.055 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.3413, allocations: 54.42 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.807e-05/0.3414, allocations: 20.91 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.3414, allocations: 8 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.3414, allocations: 30.56 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3415, allocations: 0 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/0.3418, allocations: 89.73 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.3419, allocations: 51.41 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.3419, allocations: 105.8 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.342, allocations: 33.58 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.342, allocations: 84.12 kB / 1.055 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.342, allocations: 15.89 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.3421, allocations: 9.719 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3422, allocations: 314.8 kB / 1.055 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.752e-05/0.3423, allocations: 20.02 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.083e-05/0.3424, allocations: 19.97 kB / 1.055 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.3425, allocations: 40.83 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3425, allocations: 256 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002026/0.3428, allocations: 77.66 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.3428, allocations: 4 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3428, allocations: 4 kB / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.3428, allocations: 0 / 1.056 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.3429, allocations: 15.92 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.3429, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.273e-05/0.343, allocations: 11.92 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.343, allocations: 0 / 1.056 GB, free: 4.961 MB / 0.8106 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.619e-05/0.3431, allocations: 121.8 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.3431, allocations: 3.906 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.3433, allocations: 73.19 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3433, allocations: 4 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3433, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3434, allocations: 0 / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.3435, allocations: 161.6 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3435, allocations: 4.031 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.3436, allocations: 11.98 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.3436, allocations: 0 / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3436, allocations: 3.938 kB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3436, allocations: 0 / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.3436, allocations: 4 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.3439, allocations: 167.5 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.3439, allocations: 77.11 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.344, allocations: 7.938 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.838e-05/0.344, allocations: 7.984 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.3441, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.3441, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.3442, allocations: 91.2 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3442, allocations: 4 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002221/0.3444, allocations: 4 kB / 1.056 GB, free: 4.129 MB / 0.8106 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.0001326/0.3445, allocations: 107.3 kB / 1.056 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002159/0.3447, allocations: 43.89 kB / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3448, allocations: 0 / 1.056 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.881e-05/0.3449, allocations: 19.98 kB / 1.056 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3452, allocations: 11.92 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002755/0.3455, allocations: 123.3 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.3458, allocations: 0.677 MB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.3458, allocations: 8.188 kB / 1.057 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.246e-05/0.3459, allocations: 7.438 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3459, allocations: 0 / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of Templates: time 0.002453/0.3483, allocations: 487.6 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) 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) Reference file matches