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.00825/0.00825, allocations: 103.7 kB / 15.74 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.001188/0.001188, allocations: 190.1 kB / 16.67 MB, free: 5.914 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.414/2.414, allocations: 390.2 MB / 0.6648 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 63.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.131/1.133, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002971/1.136, allocations: 1.425 MB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003627/1.136, allocations: 94.86 kB / 1.089 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.909e-05/1.136, allocations: 4.938 kB / 1.089 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.125e-05/1.137, allocations: 4.5 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.875e-05/1.137, allocations: 5.828 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003122/1.137, allocations: 19.78 kB / 1.089 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.886e-05/1.137, allocations: 23.95 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/1.137, allocations: 8.656 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.451e-05/1.137, allocations: 9.172 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.588e-05/1.137, allocations: 14.56 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/1.137, allocations: 2.562 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/1.137, allocations: 20.39 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.058e-05/1.137, allocations: 10.53 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.961e-05/1.137, allocations: 11.52 kB / 1.09 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/1.138, allocations: 34.86 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.138, allocations: 4.703 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.943e-06/1.138, allocations: 0 / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/1.138, allocations: 0 / 1.09 GB, free: 4.383 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.0004498/1.138, allocations: 351.3 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/1.138, allocations: 9.281 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/1.138, allocations: 2.594 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.458e-05/1.138, allocations: 167.6 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/1.138, allocations: 1.594 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/1.138, allocations: 1.281 kB / 1.09 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/1.138, allocations: 55.42 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.138, allocations: 192 / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/1.139, allocations: 9.031 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/1.139, allocations: 0.8438 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/1.139, allocations: 39.38 kB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/1.139, allocations: 251.3 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/1.139, allocations: 48.88 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.425e-05/1.139, allocations: 25.05 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/1.139, allocations: 6.688 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/1.139, allocations: 36.03 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/1.139, allocations: 3.938 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/1.14, allocations: 85.36 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/1.14, allocations: 56.06 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.103e-05/1.14, allocations: 110.1 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/1.14, allocations: 26.67 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/1.14, allocations: 81.31 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/1.14, allocations: 6.078 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/1.14, allocations: 17.17 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.937e-05/1.14, allocations: 312.9 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/1.14, allocations: 22.91 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.063e-05/1.14, allocations: 16.27 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/1.14, allocations: 53 kB / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.14, allocations: 0 / 1.091 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001815/1.141, allocations: 75 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/1.141, allocations: 5.406 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.141, allocations: 0.7031 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/1.141, allocations: 1.125 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.938e-05/1.141, allocations: 8.078 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.141, allocations: 1.344 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.354e-05/1.141, allocations: 7.5 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/1.141, allocations: 1.406 kB / 1.091 GB, free: 2.656 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.061e-05/1.141, allocations: 121.4 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/1.141, allocations: 5 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/1.141, allocations: 75.98 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/1.141, allocations: 1.031 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/1.141, allocations: 0 / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/1.141, allocations: 1.125 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001239/1.141, allocations: 166.7 kB / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.141, allocations: 0 / 1.092 GB, free: 2.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.462e-05/1.141, allocations: 14.08 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/1.141, allocations: 0 / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/1.141, allocations: 1.062 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/1.141, allocations: 3.938 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.141, allocations: 1.75 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/1.142, allocations: 173.6 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/1.142, allocations: 83.06 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.318e-05/1.142, allocations: 1.984 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/1.142, allocations: 5.406 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/1.142, allocations: 6.5 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/1.142, allocations: 1.953 kB / 1.092 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.047e-05/1.142, allocations: 86.14 kB / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.142, allocations: 0 / 1.092 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002286/1.142, allocations: 8 kB / 1.092 GB, free: 1.945 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.0001408/1.142, allocations: 103.1 kB / 1.092 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002188/1.142, allocations: 39.69 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/1.142, allocations: 0 / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.769e-05/1.143, allocations: 26.67 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/1.143, allocations: 6.172 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003058/1.143, allocations: 121.6 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/1.143, allocations: 0.6817 MB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.365e-05/1.143, allocations: 1.75 kB / 1.093 GB, free: 1.023 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.03e-05/1.143, allocations: 12.12 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of SimCode: time 3.01e-07/1.143, allocations: 0.8438 kB / 1.093 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.003223/1.147, allocations: 0.5459 MB / 1.094 GB, free: 0.9297 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches