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.005584/0.005584, allocations: 98.67 kB / 15.73 MB, free: 5.988 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.001307/0.001307, allocations: 196.7 kB / 16.68 MB, free: 5.918 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.784/2.784, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 64.09 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.335/0.3364, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002824/0.3393, allocations: 1.436 MB / 1.209 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003629/0.3396, allocations: 95.72 kB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.705e-05/0.3397, allocations: 4 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.163e-05/0.3398, allocations: 0 / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.3399, allocations: 3.938 kB / 1.209 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.3401, allocations: 19.92 kB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.3402, allocations: 23.98 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.3403, allocations: 4 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.505e-05/0.3404, allocations: 15.92 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.3404, allocations: 4 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3404, allocations: 11.92 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.3405, allocations: 23.91 kB / 1.209 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.949e-05/0.3406, allocations: 7.938 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.51e-05/0.3406, allocations: 7.938 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3407, allocations: 39.89 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3407, allocations: 4 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3407, allocations: 0 / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3408, allocations: 0 / 1.209 GB, free: 7.992 MB / 0.9669 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.00052/0.3413, allocations: 344.6 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.3413, allocations: 8.625 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.3414, allocations: 4.938 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001284/0.3415, allocations: 168.3 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.3415, allocations: 4.375 kB / 1.21 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.442e-05/0.3415, allocations: 4.375 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.3417, allocations: 54.17 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3417, allocations: 192 / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3418, allocations: 7.938 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3418, allocations: 0 / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.342, allocations: 39.95 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.3423, allocations: 249 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.3425, allocations: 50.42 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.056e-05/0.3426, allocations: 24.91 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.346e-05/0.3426, allocations: 4 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3426, allocations: 30.56 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3426, allocations: 0 / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003582/0.343, allocations: 93.62 kB / 1.21 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.3431, allocations: 51.41 kB / 1.21 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.3431, allocations: 105.9 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3432, allocations: 25.7 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.246e-05/0.3432, allocations: 96.03 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.3432, allocations: 3.938 kB / 1.211 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/0.3433, allocations: 17.84 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3434, allocations: 314.8 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.567e-05/0.3435, allocations: 19.91 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.012e-05/0.3436, allocations: 19.98 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.3437, allocations: 44.89 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3438, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.344, allocations: 73.5 kB / 1.211 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.344, allocations: 4 kB / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.344, allocations: 0 / 1.211 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.344, allocations: 4 kB / 1.211 GB, free: 5.938 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.3441, allocations: 15.92 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3441, allocations: 3.938 kB / 1.211 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.3442, allocations: 15.95 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.3442, allocations: 0 / 1.211 GB, free: 5.902 MB / 0.9669 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 7.022e-05/0.3443, allocations: 113.8 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.3443, allocations: 0 / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.3445, allocations: 81.17 kB / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3446, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3446, allocations: 0 / 1.211 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.3446, allocations: 4.031 kB / 1.211 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3447, allocations: 161.6 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3447, allocations: 0 / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.3448, allocations: 7.984 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3448, allocations: 0 / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.3448, allocations: 4 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3448, allocations: 3.938 kB / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3448, allocations: 0 / 1.212 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3451, allocations: 171.4 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.389e-05/0.3451, allocations: 85.09 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.3451, allocations: 256 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.606e-05/0.3452, allocations: 4 kB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.166e-05/0.3453, allocations: 15.97 kB / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.379e-06/0.3453, allocations: 0 / 1.212 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.777e-05/0.3453, allocations: 83.28 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.61e-07/0.3453, allocations: 4.031 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002332/0.3456, allocations: 8 kB / 1.212 GB, free: 5.066 MB / 0.9669 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.0001335/0.3457, allocations: 103.2 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3459, allocations: 43.84 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.346, allocations: 0 / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.3461, allocations: 32.03 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.3463, allocations: 5.656 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002836/0.3466, allocations: 113.5 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.3469, allocations: 0.6768 MB / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.331e-05/0.3469, allocations: 0 / 1.213 GB, free: 4.039 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.145e-05/0.3469, allocations: 11.44 kB / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3469, allocations: 0 / 1.213 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of Templates: time 0.002674/0.3496, allocations: 0.5497 MB / 1.213 GB, free: 3.48 MB / 0.9669 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