Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_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.001583/0.001582, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001593/0.001593, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.472/1.472, allocations: 222.9 MB / 240.6 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.866/2.866, allocations: 469.8 MB / 0.7427 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 66.3 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3362, allocations: 159.1 MB / 1.064 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002885/0.3392, allocations: 1.509 MB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0003138/0.3395, allocations: 87.81 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.096e-05/0.3395, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.981e-05/0.3396, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.168e-05/0.3397, allocations: 0 / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.3399, allocations: 27.97 kB / 1.066 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.99e-05/0.34, allocations: 19.92 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.316e-05/0.3401, allocations: 8 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.191e-05/0.3401, allocations: 11.92 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.3402, allocations: 15.92 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.3402, allocations: 0 / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.897e-05/0.3403, allocations: 27.92 kB / 1.066 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.3403, allocations: 4 kB / 1.066 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.554e-05/0.3403, allocations: 11.94 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.528e-05/0.3404, allocations: 27.94 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3405, allocations: 4 kB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3405, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3405, allocations: 0 / 1.066 GB, free: 12.86 MB / 0.8262 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.0004741/0.341, allocations: 345.2 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.341, allocations: 8.031 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.341, allocations: 8.938 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.3412, allocations: 164.3 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.3412, allocations: 4.375 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3412, allocations: 4.375 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.3414, allocations: 54.22 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.3414, allocations: 192 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3414, allocations: 3.938 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3414, allocations: 0 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.3416, allocations: 43.89 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.342, allocations: 257 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3421, allocations: 38.5 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.975e-05/0.3422, allocations: 28.89 kB / 1.067 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.714e-05/0.3422, allocations: 4 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.3423, allocations: 30.56 kB / 1.067 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3423, allocations: 7.938 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003561/0.3426, allocations: 93.52 kB / 1.067 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3427, allocations: 51.41 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.215e-05/0.3428, allocations: 105.8 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.3428, allocations: 25.7 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.3429, allocations: 88.14 kB / 1.067 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.3429, allocations: 8.031 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.3429, allocations: 13.7 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3431, allocations: 318.8 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.3e-05/0.3432, allocations: 11.98 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.3433, allocations: 19.98 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.3434, allocations: 52.81 kB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3435, allocations: 0 / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001958/0.3437, allocations: 69.59 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3437, allocations: 5.562 kB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3437, allocations: 0 / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3437, allocations: 4 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.161e-05/0.3438, allocations: 7.984 kB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.3438, allocations: 32 / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.3439, allocations: 11.94 kB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.3439, allocations: 0 / 1.068 GB, free: 10.79 MB / 0.8262 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.794e-05/0.344, allocations: 121.8 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.344, allocations: 3.906 kB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.3442, allocations: 81.12 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3442, allocations: 32 / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3442, allocations: 4.25 kB / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.3442, allocations: 0 / 1.068 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.3444, allocations: 169.6 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3444, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.562e-05/0.3445, allocations: 7.984 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3445, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.3445, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3445, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3445, allocations: 0 / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002462/0.3448, allocations: 171.4 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.945e-05/0.3448, allocations: 85.02 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.3449, allocations: 3.938 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.3449, allocations: 7.984 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.345, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.345, allocations: 0 / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.345, allocations: 95.3 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.345, allocations: 0 / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002215/0.3453, allocations: 12 kB / 1.068 GB, free: 9.934 MB / 0.8262 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.0001475/0.3454, allocations: 100.1 kB / 1.068 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.3456, allocations: 43.95 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3457, allocations: 4 kB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.66e-05/0.3458, allocations: 23.98 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.346, allocations: 7.938 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.3463, allocations: 151.1 kB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.3468, allocations: 0.6807 MB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.087e-05/0.3468, allocations: 7.438 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3468, allocations: 0 / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of Templates: time 0.002153/0.349, allocations: 0.6741 MB / 1.07 GB, free: 8.188 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches