Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008086/0.0008084, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005637/0.005637, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.484/1.484, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.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.433/2.433, allocations: 390.9 MB / 0.6663 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003871/0.0003872, allocations: 11.94 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8413/0.8417, allocations: 142.4 MB / 0.9551 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0008954/0.8427, allocations: 323 kB / 0.9554 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002963/0.843, allocations: 37.56 kB / 0.9554 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.11e-05/0.843, allocations: 0 / 0.9554 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.786e-05/0.843, allocations: 1 kB / 0.9554 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-06/0.8431, allocations: 0 / 0.9554 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.8434, allocations: 8.75 kB / 0.9554 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.8434, allocations: 6.266 kB / 0.9554 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.893e-05/0.8435, allocations: 5.219 kB / 0.9554 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.222e-05/0.8435, allocations: 1.219 kB / 0.9554 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.532e-05/0.8436, allocations: 1.031 kB / 0.9554 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.8436, allocations: 3.938 kB / 0.9554 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.8437, allocations: 20.36 kB / 0.9554 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.576e-05/0.8437, allocations: 4 kB / 0.9554 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.8438, allocations: 25.7 kB / 0.9555 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.8439, allocations: 19.05 kB / 0.9555 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.8439, allocations: 0 / 0.9555 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8439, allocations: 0 / 0.9555 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8439, allocations: 1.312 kB / 0.9555 GB, free: 7.379 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003492/0.8443, allocations: 313.9 kB / 0.9558 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/0.8444, allocations: 9.062 kB / 0.9558 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.241e-05/0.8444, allocations: 4.938 kB / 0.9558 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.089e-05/0.8445, allocations: 161.4 kB / 0.956 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.8445, allocations: 4.359 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.8445, allocations: 1.75 kB / 0.956 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.8447, allocations: 28.36 kB / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.8447, allocations: 192 / 0.956 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.8447, allocations: 7.938 kB / 0.956 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.8447, allocations: 5 kB / 0.956 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.972e-05/0.8448, allocations: 0.9688 kB / 0.956 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001666/0.8449, allocations: 142.7 kB / 0.9561 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.36e-05/0.845, allocations: 25.34 kB / 0.9562 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.333e-05/0.845, allocations: 6.047 kB / 0.9562 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.975e-05/0.8451, allocations: 2.156 kB / 0.9562 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.8451, allocations: 34.56 kB / 0.9562 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.8451, allocations: 1.25 kB / 0.9562 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001973/0.8453, allocations: 38.83 kB / 0.9562 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.8454, allocations: 55.34 kB / 0.9563 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.018e-05/0.8454, allocations: 89.86 kB / 0.9564 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.8454, allocations: 26.92 kB / 0.9564 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.276e-05/0.8455, allocations: 84.14 kB / 0.9565 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.8455, allocations: 9.328 kB / 0.9565 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.8456, allocations: 9.844 kB / 0.9565 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.845e-05/0.8456, allocations: 318.8 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.8457, allocations: 1.281 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.8457, allocations: 1.219 kB / 0.9568 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.8457, allocations: 11.86 kB / 0.9568 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.8457, allocations: 0 / 0.9568 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.487e-05/0.8458, allocations: 36.42 kB / 0.9569 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.8458, allocations: 9.391 kB / 0.9569 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.8458, allocations: 4.094 kB / 0.9569 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8459, allocations: 7.938 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.846, allocations: 2.781 kB / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.846, allocations: 0 / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.846, allocations: 0 / 0.9569 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.846, allocations: 1.531 kB / 0.9569 GB, free: 5.781 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.359e-05/0.8461, allocations: 106.9 kB / 0.957 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.8461, allocations: 1.344 kB / 0.957 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001348/0.8463, allocations: 58.11 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8463, allocations: 1.281 kB / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8463, allocations: 0 / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.8463, allocations: 0 / 0.957 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.75e-05/0.8464, allocations: 146.6 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8464, allocations: 1.156 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.8464, allocations: 1.188 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.8464, allocations: 1.062 kB / 0.9572 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.8464, allocations: 3.938 kB / 0.9572 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.8464, allocations: 5.438 kB / 0.9572 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8465, allocations: 0 / 0.9572 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.355e-05/0.8465, allocations: 56.42 kB / 0.9572 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.8466, allocations: 81.09 kB / 0.9573 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.8466, allocations: 7.875 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.8466, allocations: 1.5 kB / 0.9573 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.8466, allocations: 3.938 kB / 0.9573 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.8466, allocations: 5.312 kB / 0.9573 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.344e-05/0.8467, allocations: 76.09 kB / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8467, allocations: 0 / 0.9574 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002302/0.8469, allocations: 4.469 kB / 0.9574 GB, free: 5.156 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.0002322/0.8472, allocations: 100.7 kB / 0.9575 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.8473, allocations: 7.828 kB / 0.9575 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8473, allocations: 0 / 0.9575 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.8473, allocations: 6.844 kB / 0.9575 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.8474, allocations: 1.094 kB / 0.9575 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.8477, allocations: 71.48 kB / 0.9576 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.8479, allocations: 0.6781 MB / 0.9583 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.8479, allocations: 6.609 kB / 0.9583 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.848, allocations: 12.69 kB / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of SimCode: time 3.81e-07/0.848, allocations: 0 / 0.9583 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of Templates: time 0.003262/0.8512, allocations: 281.5 kB / 0.9585 GB, free: 4.102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches