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.001109/0.00111, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001333/0.001333, allocations: 191 kB / 16.13 MB, free: 6.652 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.439/1.439, allocations: 222.9 MB / 239.8 MB, free: 4.605 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.495/2.495, allocations: 390.2 MB / 0.6642 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.91 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8809/0.8822, allocations: 140.4 MB / 0.9489 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.003298/0.8856, allocations: 0.6374 MB / 0.9496 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000379/0.886, allocations: 38.06 kB / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.654e-05/0.886, allocations: 0 / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.194e-05/0.8861, allocations: 0 / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.766e-06/0.8861, allocations: 0 / 0.9496 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.8865, allocations: 17.23 kB / 0.9496 GB, free: 8.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.341e-05/0.8866, allocations: 5.234 kB / 0.9496 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.536e-05/0.8867, allocations: 1.562 kB / 0.9496 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.816e-05/0.8867, allocations: 5.375 kB / 0.9496 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.408e-05/0.8868, allocations: 9.453 kB / 0.9496 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.8868, allocations: 0 / 0.9496 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.8869, allocations: 15.7 kB / 0.9496 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.544e-05/0.887, allocations: 0 / 0.9496 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.522e-05/0.887, allocations: 1.344 kB / 0.9496 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000134/0.8872, allocations: 14.11 kB / 0.9497 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8872, allocations: 0 / 0.9497 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.694e-06/0.8872, allocations: 1.625 kB / 0.9497 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.8872, allocations: 0 / 0.9497 GB, free: 8.625 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.0003337/0.8875, allocations: 319.3 kB / 0.95 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.8876, allocations: 9.781 kB / 0.95 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.8877, allocations: 4.938 kB / 0.95 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.298e-05/0.8877, allocations: 160.4 kB / 0.9501 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.8878, allocations: 4.312 kB / 0.9501 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.8878, allocations: 1.688 kB / 0.9501 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.8879, allocations: 41.16 kB / 0.9502 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.888, allocations: 192 / 0.9502 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.888, allocations: 3.938 kB / 0.9502 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.888, allocations: 4 kB / 0.9502 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.091e-05/0.888, allocations: 1.438 kB / 0.9502 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.8882, allocations: 143.2 kB / 0.9503 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.8883, allocations: 16.14 kB / 0.9503 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.732e-05/0.8883, allocations: 14.3 kB / 0.9503 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.589e-05/0.8884, allocations: 6.766 kB / 0.9504 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.8884, allocations: 34.56 kB / 0.9504 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 2.404e-06/0.8884, allocations: 0 / 0.9504 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001904/0.8886, allocations: 39.02 kB / 0.9504 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.8886, allocations: 52.88 kB / 0.9505 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.802e-05/0.8887, allocations: 89.86 kB / 0.9506 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.8887, allocations: 25.7 kB / 0.9506 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.8888, allocations: 85.41 kB / 0.9507 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.8888, allocations: 3.906 kB / 0.9507 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.8889, allocations: 16.59 kB / 0.9507 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.889, allocations: 318.8 kB / 0.951 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.889, allocations: 1.281 kB / 0.951 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.011e-05/0.889, allocations: 5.406 kB / 0.951 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.889, allocations: 7.609 kB / 0.951 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.8891, allocations: 0 / 0.951 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.686e-05/0.8891, allocations: 32.42 kB / 0.951 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.8892, allocations: 4.125 kB / 0.951 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.8892, allocations: 5.469 kB / 0.951 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.8892, allocations: 7.922 kB / 0.9511 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.267e-05/0.8893, allocations: 1.375 kB / 0.9511 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8893, allocations: 1.375 kB / 0.9511 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.913e-05/0.8893, allocations: 4 kB / 0.9511 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.8894, allocations: 1.375 kB / 0.9511 GB, free: 7.02 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 9.148e-05/0.8895, allocations: 111.2 kB / 0.9512 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/0.8895, allocations: 3.984 kB / 0.9512 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.8897, allocations: 47.62 kB / 0.9512 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8897, allocations: 0 / 0.9512 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.8897, allocations: 1.375 kB / 0.9512 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.8897, allocations: 0 / 0.9512 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.157e-05/0.8898, allocations: 147.1 kB / 0.9514 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.8898, allocations: 0 / 0.9514 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.756e-05/0.8898, allocations: 5.359 kB / 0.9514 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.8898, allocations: 5.312 kB / 0.9514 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.8899, allocations: 7.938 kB / 0.9514 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.8899, allocations: 4.031 kB / 0.9514 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8899, allocations: 1.375 kB / 0.9514 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.504e-05/0.89, allocations: 59.95 kB / 0.9514 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.89, allocations: 81.09 kB / 0.9515 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.89, allocations: 3.938 kB / 0.9515 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.8901, allocations: 5.312 kB / 0.9515 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.8901, allocations: 0 / 0.9515 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.8901, allocations: 5.406 kB / 0.9515 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.686e-05/0.8901, allocations: 76.66 kB / 0.9516 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.6e-07/0.8901, allocations: 0 / 0.9516 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002693/0.8904, allocations: 4.125 kB / 0.9516 GB, free: 6.387 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.0002231/0.8906, allocations: 99.88 kB / 0.9517 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.8907, allocations: 8.109 kB / 0.9517 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.8908, allocations: 1.375 kB / 0.9517 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.8908, allocations: 9.375 kB / 0.9517 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.891, allocations: 1.375 kB / 0.9517 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/0.8913, allocations: 72.27 kB / 0.9518 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.8915, allocations: 0.6706 MB / 0.9524 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.29e-05/0.8915, allocations: 2.75 kB / 0.9524 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.8916, allocations: 16.86 kB / 0.9525 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.8916, allocations: 0 / 0.9525 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of Templates: time 0.00371/0.8953, allocations: 280.5 kB / 0.9527 GB, free: 5.34 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