Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_10_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.00673/0.00673, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001476/0.001476, allocations: 197 kB / 16.67 MB, free: 5.969 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 68.11 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9415/0.9428, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002952/0.9458, allocations: 1.429 MB / 1.168 GB, free: 2.422 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003558/0.9461, allocations: 106.9 kB / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.132e-05/0.9462, allocations: 0 / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.391e-05/0.9463, allocations: 0 / 1.168 GB, free: 2.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.665e-05/0.9463, allocations: 7.875 kB / 1.168 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.9466, allocations: 19.92 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.483e-05/0.9467, allocations: 19.98 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.9468, allocations: 19.92 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.9468, allocations: 7.984 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.9469, allocations: 11.94 kB / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.9469, allocations: 0 / 1.168 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.947, allocations: 23.97 kB / 1.168 GB, free: 2.207 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.524e-05/0.9471, allocations: 7.938 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.9471, allocations: 11.94 kB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.9472, allocations: 35.94 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.9472, allocations: 0 / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9473, allocations: 4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.9473, allocations: 3.938 kB / 1.168 GB, free: 2.145 MB / 0.8887 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.0006368/0.9479, allocations: 347.9 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.9479, allocations: 8.922 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.948, allocations: 0.9375 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.9482, allocations: 180.3 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.9482, allocations: 4.312 kB / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.9482, allocations: 384 / 1.169 GB, free: 1.531 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.9484, allocations: 58.23 kB / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.9484, allocations: 192 / 1.169 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.9484, allocations: 3.938 kB / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.9485, allocations: 0 / 1.169 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.9486, allocations: 35.95 kB / 1.169 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.949, allocations: 252.9 kB / 1.169 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.9492, allocations: 54.42 kB / 1.169 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.656e-05/0.9493, allocations: 20.91 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.9493, allocations: 0 / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.9493, allocations: 34.56 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.9494, allocations: 0 / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003682/0.9497, allocations: 85.64 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.9498, allocations: 63.33 kB / 1.169 GB, free: 0.8398 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.9499, allocations: 101.9 kB / 1.169 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.9499, allocations: 29.7 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 5.16e-05/0.95, allocations: 84.12 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.95, allocations: 3.953 kB / 1.17 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.95, allocations: 17.72 kB / 1.17 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.9502, allocations: 315 kB / 1.17 GB, free: 272 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.9502, allocations: 19.98 kB / 1.17 GB, free: 252 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.9504, allocations: 19.97 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000141/0.9505, allocations: 36.83 kB / 1.17 GB, free: 192 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9505, allocations: 4 kB / 1.17 GB, free: 188 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.9507, allocations: 81.59 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9508, allocations: 4 kB / 1.17 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.9508, allocations: 3.938 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.9508, allocations: 0 / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.9509, allocations: 11.98 kB / 1.17 GB, free: 80 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.9509, allocations: 3.938 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.9509, allocations: 11.94 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.951, allocations: 4.031 kB / 1.17 GB, free: 60 kB / 0.8887 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 9.169e-05/0.9511, allocations: 109.8 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.9511, allocations: 4 kB / 1.17 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.9513, allocations: 77.44 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.9513, allocations: 3.984 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9513, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9513, allocations: 0 / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.9515, allocations: 165.6 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9515, allocations: 0 / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.008e-05/0.9516, allocations: 19.92 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9516, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.9516, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.9516, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.9516, allocations: 0 / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002346/0.9518, allocations: 167.5 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.53e-05/0.9519, allocations: 81.06 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.9519, allocations: 7.984 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.952, allocations: 4 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.952, allocations: 4 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.952, allocations: 3.984 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.663e-05/0.9521, allocations: 83.28 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9521, allocations: 0 / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002372/0.9524, allocations: 15.97 kB / 1.171 GB, free: 15.22 MB / 0.9044 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.0001517/0.9525, allocations: 99.25 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.9527, allocations: 43.89 kB / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9528, allocations: 0 / 1.171 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.273e-05/0.9528, allocations: 23.97 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.9531, allocations: 12.06 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002654/0.9534, allocations: 105.4 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.9537, allocations: 0.6768 MB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.156e-05/0.9537, allocations: 0 / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.117e-05/0.9537, allocations: 15.44 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of SimCode: time 1.402e-06/0.9537, allocations: 3.938 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.002758/0.9565, allocations: 0.5508 MB / 1.172 GB, free: 13.64 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches