Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_9_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.001257/0.001257, allocations: 104.1 kB / 16.41 MB, free: 6.461 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.001301/0.001301, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.332/2.332, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.89 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.079, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002922/1.082, allocations: 1.436 MB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003632/1.082, allocations: 95.47 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.542e-05/1.082, allocations: 1.125 kB / 1.09 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.665e-05/1.082, allocations: 3.938 kB / 1.09 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.109e-05/1.082, allocations: 9.578 kB / 1.09 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003273/1.083, allocations: 19.7 kB / 1.09 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.058e-05/1.083, allocations: 28.16 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/1.083, allocations: 5.062 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.167e-05/1.083, allocations: 8.703 kB / 1.09 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.064e-05/1.083, allocations: 14.94 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/1.083, allocations: 2.156 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/1.083, allocations: 17.31 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/1.083, allocations: 4.031 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/1.083, allocations: 15.39 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/1.083, allocations: 37.45 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.083, allocations: 1.547 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.444e-06/1.083, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/1.083, allocations: 0 / 1.09 GB, free: 4.391 MB / 0.8575 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.0004535/1.084, allocations: 351.5 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/1.084, allocations: 8.781 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/1.084, allocations: 3.688 kB / 1.091 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/1.084, allocations: 167.6 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/1.084, allocations: 5.375 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/1.084, allocations: 1.469 kB / 1.091 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/1.084, allocations: 54.78 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.084, allocations: 192 / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.084, allocations: 9.094 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/1.084, allocations: 0 / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/1.084, allocations: 36.67 kB / 1.091 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/1.085, allocations: 254.9 kB / 1.091 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/1.085, allocations: 44.39 kB / 1.091 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.521e-05/1.085, allocations: 29.23 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.902e-05/1.085, allocations: 2.984 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/1.085, allocations: 35.81 kB / 1.091 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/1.085, allocations: 3.938 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003833/1.086, allocations: 88.77 kB / 1.091 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/1.086, allocations: 52.81 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.869e-05/1.086, allocations: 106.4 kB / 1.091 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/1.086, allocations: 25.7 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/1.086, allocations: 90.06 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.927e-05/1.086, allocations: 5.484 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.852e-05/1.086, allocations: 13.7 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.874e-05/1.086, allocations: 316.5 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-05/1.086, allocations: 14.88 kB / 1.092 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.952e-05/1.086, allocations: 21.28 kB / 1.092 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/1.086, allocations: 43.7 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/1.086, allocations: 0.5156 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001988/1.086, allocations: 74.66 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/1.086, allocations: 5.281 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/1.086, allocations: 1.484 kB / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/1.086, allocations: 256 / 1.092 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.644e-05/1.087, allocations: 17.17 kB / 1.092 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.087, allocations: 4.562 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.924e-05/1.087, allocations: 8.312 kB / 1.092 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/1.087, allocations: 0.875 kB / 1.092 GB, free: 2.66 MB / 0.8575 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 6.134e-05/1.087, allocations: 113 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.586e-05/1.087, allocations: 6.516 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/1.087, allocations: 82.86 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.087, allocations: 0.9688 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/1.087, allocations: 0 / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.087, allocations: 1.562 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/1.087, allocations: 162.2 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.087, allocations: 1.625 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.698e-05/1.087, allocations: 7.938 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.087, allocations: 1.062 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.087, allocations: 0.7031 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.087, allocations: 0.9375 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.087, allocations: 3.969 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/1.088, allocations: 171.4 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.793e-05/1.088, allocations: 82.62 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/1.088, allocations: 1.688 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.225e-05/1.088, allocations: 5.656 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/1.088, allocations: 10.28 kB / 1.093 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/1.088, allocations: 4.938 kB / 1.093 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.464e-05/1.088, allocations: 83.05 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/1.088, allocations: 0 / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002257/1.088, allocations: 11.25 kB / 1.093 GB, free: 1.953 MB / 0.8575 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.0001491/1.088, allocations: 108.7 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002258/1.088, allocations: 38.72 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.088, allocations: 4.062 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/1.088, allocations: 18.12 kB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/1.089, allocations: 16.89 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/1.089, allocations: 145.3 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/1.089, allocations: 0.6776 MB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.191e-05/1.089, allocations: 9.281 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of SimCode: time 2.11e-07/1.089, allocations: 4.062 kB / 1.094 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of Templates: time 0.002786/1.092, allocations: 0.6716 MB / 1.094 GB, free: 0.9336 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches