Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001534/0.001534, allocations: 105.7 kB / 16.27 MB, free: 6.418 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.00197/0.00197, allocations: 189.6 kB / 17.2 MB, free: 5.945 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.382/1.382, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 437.1 MB / 0.711 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 76.8 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3083, allocations: 151.6 MB / 1.018 GB, free: 10.65 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001896/0.3102, allocations: 0.5747 MB / 1.019 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002194/0.3105, allocations: 39.81 kB / 1.019 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.3105, allocations: 4 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.3105, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-06/0.3105, allocations: 0 / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.3108, allocations: 7.984 kB / 1.019 GB, free: 10.02 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 4.473e-05/0.3109, allocations: 7.984 kB / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.3109, allocations: 0 / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.488e-05/0.3109, allocations: 0 / 1.019 GB, free: 10.01 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.244e-05/0.311, allocations: 11.94 kB / 1.019 GB, free: 9.996 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.311, allocations: 0 / 1.019 GB, free: 9.996 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.367e-05/0.3111, allocations: 19.97 kB / 1.019 GB, free: 9.977 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.039e-05/0.3111, allocations: 4 kB / 1.019 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.726e-05/0.3111, allocations: 0 / 1.019 GB, free: 9.973 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.217e-05/0.3112, allocations: 11.98 kB / 1.019 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3112, allocations: 0 / 1.019 GB, free: 9.961 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.027e-06/0.3112, allocations: 4 kB / 1.019 GB, free: 9.957 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.305e-06/0.3112, allocations: 3.938 kB / 1.019 GB, free: 9.953 MB / 0.795 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.0003333/0.3116, allocations: 323.6 kB / 1.019 GB, free: 9.586 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3116, allocations: 8.922 kB / 1.019 GB, free: 9.578 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.3117, allocations: 8.781 kB / 1.019 GB, free: 9.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.3118, allocations: 160.4 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.3118, allocations: 384 / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-06/0.3118, allocations: 384 / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.086e-05/0.3119, allocations: 34.2 kB / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.3119, allocations: 192 / 1.019 GB, free: 9.336 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.3119, allocations: 7.922 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-06/0.3119, allocations: 0 / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.92e-05/0.3119, allocations: 8 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.3121, allocations: 149.7 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.729e-05/0.3121, allocations: 14.58 kB / 1.019 GB, free: 9.102 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.768e-05/0.3122, allocations: 8.953 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3122, allocations: 0 / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3122, allocations: 34.5 kB / 1.019 GB, free: 9.047 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.3122, allocations: 4 kB / 1.019 GB, free: 9.043 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.3124, allocations: 45.62 kB / 1.019 GB, free: 8.992 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.3124, allocations: 51.41 kB / 1.019 GB, free: 8.93 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.409e-05/0.3125, allocations: 89.86 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.3125, allocations: 25.7 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.3125, allocations: 80.14 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.3126, allocations: 0 / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.3126, allocations: 13.72 kB / 1.02 GB, free: 8.699 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3127, allocations: 315 kB / 1.02 GB, free: 8.383 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.3128, allocations: 3.984 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.3128, allocations: 8 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.3128, allocations: 8.797 kB / 1.02 GB, free: 8.359 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3128, allocations: 4 kB / 1.02 GB, free: 8.355 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.645e-05/0.3129, allocations: 33.7 kB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3129, allocations: 4 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.3129, allocations: 0 / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3129, allocations: 3.938 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.014e-05/0.313, allocations: 8.094 kB / 1.02 GB, free: 8.301 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.313, allocations: 3.984 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.313, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.313, allocations: 4 kB / 1.02 GB, free: 8.293 MB / 0.795 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.853e-05/0.3131, allocations: 105.8 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.3131, allocations: 3.938 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.3132, allocations: 56.69 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.3133, allocations: 0 / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3133, allocations: 3.938 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3133, allocations: 0 / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001055/0.3134, allocations: 141.7 kB / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3134, allocations: 0 / 1.02 GB, free: 7.922 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.3134, allocations: 4 kB / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3134, allocations: 0 / 1.02 GB, free: 7.918 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3134, allocations: 7.922 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3134, allocations: 0 / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3134, allocations: 4.031 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.611e-05/0.3135, allocations: 61.08 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.3136, allocations: 77.11 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.3136, allocations: 3.938 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.621e-05/0.3136, allocations: 7.969 kB / 1.021 GB, free: 7.723 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.233e-05/0.3136, allocations: 4 kB / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.3136, allocations: 0 / 1.021 GB, free: 7.719 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.391e-05/0.3137, allocations: 79.31 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3137, allocations: 0 / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001916/0.3139, allocations: 4 kB / 1.021 GB, free: 7.637 MB / 0.795 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.0001662/0.314, allocations: 107.2 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.491e-05/0.3141, allocations: 8 kB / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3141, allocations: 0 / 1.021 GB, free: 7.516 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-05/0.3141, allocations: 7.922 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.3143, allocations: 6.016 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/0.3145, allocations: 106.7 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3149, allocations: 0.669 MB / 1.021 GB, free: 6.672 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.387e-05/0.3149, allocations: 15.44 kB / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3149, allocations: 0 / 1.021 GB, free: 6.656 MB / 0.795 GB Notification: Performance of Templates: time 0.001879/0.3168, allocations: 457.1 kB / 1.022 GB, free: 6.211 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches