Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0008048/0.0008049, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009161/0.0009162, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.369/1.369, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.81/2.81, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003906/0.0003906, allocations: 8.938 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0007464/0.3394, allocations: 314.9 kB / 1.06 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002852/0.3397, allocations: 35.88 kB / 1.06 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.178e-05/0.3397, allocations: 7.938 kB / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.295e-05/0.3397, allocations: 0 / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-06/0.3397, allocations: 0 / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.34, allocations: 19.92 kB / 1.06 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.027e-05/0.3401, allocations: 3.984 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.3401, allocations: 0 / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.3401, allocations: 4 kB / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.512e-05/0.3402, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3402, allocations: 0 / 1.06 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.3403, allocations: 15.98 kB / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.3403, allocations: 7.984 kB / 1.06 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.401e-05/0.3404, allocations: 25.7 kB / 1.06 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.542e-05/0.3405, allocations: 11.98 kB / 1.06 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.3405, allocations: 4 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3405, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.3405, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 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.0002897/0.3408, allocations: 311.5 kB / 1.06 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3408, allocations: 16.03 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.009e-05/0.3409, allocations: 4.922 kB / 1.06 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.28e-05/0.341, allocations: 160.4 kB / 1.06 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.341, allocations: 4.375 kB / 1.06 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.341, allocations: 4.359 kB / 1.06 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.884e-05/0.3411, allocations: 34.2 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3411, allocations: 4.125 kB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3411, allocations: 3.938 kB / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.3412, allocations: 0 / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.3412, allocations: 0 / 1.06 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.3413, allocations: 153.6 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.241e-05/0.3414, allocations: 22.56 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.3414, allocations: 4.859 kB / 1.06 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.496e-05/0.3414, allocations: 4.094 kB / 1.06 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.3415, allocations: 34.5 kB / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.3415, allocations: 0 / 1.06 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001418/0.3416, allocations: 41.64 kB / 1.061 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.3417, allocations: 51.41 kB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.77e-05/0.3417, allocations: 93.98 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3417, allocations: 25.7 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.994e-05/0.3418, allocations: 80.14 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.3418, allocations: 3.984 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.231e-05/0.3418, allocations: 9.719 kB / 1.061 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/0.3419, allocations: 314.8 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.342, allocations: 4 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.564e-06/0.342, allocations: 0 / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.342, allocations: 20.86 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.342, allocations: 0 / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.761e-05/0.3421, allocations: 29.7 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3421, allocations: 11.98 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.3421, allocations: 0 / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3421, allocations: 3.938 kB / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.3422, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.3422, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.3422, allocations: 0 / 1.061 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3422, allocations: 4 kB / 1.061 GB, free: 2.879 MB / 0.8106 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 6.956e-05/0.3423, allocations: 109.9 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/0.3423, allocations: 0 / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001156/0.3424, allocations: 52.69 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3425, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3425, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3425, allocations: 0 / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.216e-05/0.3426, allocations: 153.6 kB / 1.061 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.3426, allocations: 3.984 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.156e-05/0.3426, allocations: 8 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3426, allocations: 0 / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3426, allocations: 3.938 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3426, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3426, allocations: 0 / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.006e-05/0.3427, allocations: 61.08 kB / 1.062 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.3428, allocations: 85.12 kB / 1.062 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.3428, allocations: 3.938 kB / 1.062 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.238e-05/0.3428, allocations: 7.938 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.166e-05/0.3428, allocations: 0 / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3428, allocations: 0 / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.442e-05/0.3428, allocations: 75.28 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3429, allocations: 0 / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000185/0.343, allocations: 4 kB / 1.062 GB, free: 2.223 MB / 0.8106 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.0001625/0.3432, allocations: 111.2 kB / 1.062 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.67e-05/0.3433, allocations: 7.984 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3433, allocations: 0 / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.144e-05/0.3433, allocations: 7.938 kB / 1.062 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001341/0.3434, allocations: 4 kB / 1.062 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002036/0.3437, allocations: 100.4 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.3439, allocations: 0.6692 MB / 1.063 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/0.3439, allocations: 19.55 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of SimCode: time 3.026e-06/0.3439, allocations: 0 / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of Templates: time 0.001958/0.3459, allocations: 439.6 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches