Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_latest_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.005281/0.005281, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001269/0.001269, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.34/1.34, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.08 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3252, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003213/0.3285, allocations: 1.495 MB / 1.054 GB, free: 6.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.3289, allocations: 99.67 kB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.3289, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.471e-05/0.329, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.3291, allocations: 7.938 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.3294, allocations: 11.98 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.347e-05/0.3294, allocations: 23.92 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.846e-05/0.3296, allocations: 15.92 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.897e-05/0.3296, allocations: 11.98 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.3297, allocations: 7.938 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.3297, allocations: 0 / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.3298, allocations: 19.97 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.3299, allocations: 8 kB / 1.054 GB, free: 6.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.3299, allocations: 7.938 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.33, allocations: 27.95 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.33, allocations: 4 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.31e-07/0.33, allocations: 0 / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.575e-06/0.33, allocations: 4 kB / 1.054 GB, free: 6.508 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005221/0.3306, allocations: 347.6 kB / 1.055 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.3306, allocations: 15.97 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.998e-05/0.3307, allocations: 0.9375 kB / 1.055 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.3308, allocations: 168.4 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3309, allocations: 384 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3309, allocations: 384 / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.3311, allocations: 54.23 kB / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3311, allocations: 192 / 1.055 GB, free: 5.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3311, allocations: 7.938 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.3311, allocations: 3.984 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.3313, allocations: 39.89 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.3317, allocations: 260.8 kB / 1.055 GB, free: 5.484 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3319, allocations: 46.5 kB / 1.055 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.126e-05/0.332, allocations: 24.89 kB / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.332, allocations: 0 / 1.055 GB, free: 5.402 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.3321, allocations: 34.56 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.3321, allocations: 4 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003705/0.3325, allocations: 85.58 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3325, allocations: 59.41 kB / 1.056 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.3326, allocations: 109.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.3326, allocations: 25.7 kB / 1.056 GB, free: 5.047 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.3327, allocations: 80.14 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.3327, allocations: 3.906 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.3328, allocations: 17.72 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3329, allocations: 319 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.333, allocations: 23.92 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-05/0.3331, allocations: 15.98 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.3332, allocations: 44.81 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3332, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002114/0.3335, allocations: 77.59 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.3335, allocations: 9.094 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3335, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3335, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3336, allocations: 4 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3336, allocations: 7.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.329e-05/0.3337, allocations: 3.938 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.3337, allocations: 8.031 kB / 1.056 GB, free: 4.418 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 (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 9.738e-05/0.3339, allocations: 113.8 kB / 1.056 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.124e-05/0.3339, allocations: 11.89 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.3342, allocations: 73.12 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3342, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3342, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3342, allocations: 0 / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002129/0.3345, allocations: 173.6 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3345, allocations: 0 / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-05/0.3346, allocations: 8 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.3346, allocations: 3.938 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.3346, allocations: 3.984 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3346, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3346, allocations: 0 / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.3349, allocations: 171.5 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.249e-05/0.3349, allocations: 77.11 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3349, allocations: 256 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.628e-05/0.335, allocations: 11.98 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3351, allocations: 3.938 kB / 1.057 GB, free: 3.68 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.3351, allocations: 4 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.367e-05/0.3351, allocations: 87.27 kB / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3351, allocations: 0 / 1.057 GB, free: 3.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002328/0.3354, allocations: 12.03 kB / 1.057 GB, free: 3.578 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 (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.0001663/0.3355, allocations: 103.2 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3358, allocations: 39.95 kB / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3358, allocations: 0 / 1.057 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.3359, allocations: 19.98 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3362, allocations: 13.19 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.3365, allocations: 144.9 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.3368, allocations: 0.6848 MB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3368, allocations: 11.38 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3368, allocations: 0 / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.002447/0.3393, allocations: 0.666 MB / 1.059 GB, free: 1.836 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches