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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.002763/0.002763, allocations: 198.3 kB / 16.26 MB, free: 6.633 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.792/1.792, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.659/2.659, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 65.78 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2667, allocations: 157.4 MB / 1.052 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002388/0.2692, allocations: 1.506 MB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002502/0.2694, allocations: 103.8 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.226e-05/0.2695, allocations: 0 / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.616e-05/0.2695, allocations: 3.938 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 2.824e-05/0.2696, allocations: 0 / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.2698, allocations: 15.98 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.236e-05/0.2698, allocations: 23.92 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.342e-05/0.2699, allocations: 8 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.002e-05/0.2699, allocations: 11.92 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.27, allocations: 8 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.27, allocations: 4 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.699e-05/0.2701, allocations: 31.84 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.2701, allocations: 4 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.2701, allocations: 15.92 kB / 1.054 GB, free: 6.91 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.007e-05/0.2702, allocations: 27.89 kB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2703, allocations: 0 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2703, allocations: 0 / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2703, allocations: 4 kB / 1.054 GB, free: 6.879 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.000365/0.2706, allocations: 343.7 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.2707, allocations: 16.62 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.691e-05/0.2707, allocations: 34.75 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.204e-05/0.2707, allocations: 4.922 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.2708, allocations: 164.4 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2709, allocations: 384 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2709, allocations: 384 / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.271, allocations: 54.17 kB / 1.055 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.271, allocations: 7.938 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.2711, allocations: 3.984 kB / 1.055 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2711, allocations: 4 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.2712, allocations: 35.95 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.2715, allocations: 252.9 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.2716, allocations: 50.42 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.899e-05/0.2717, allocations: 24.91 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.2717, allocations: 7.938 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.2718, allocations: 38.55 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2718, allocations: 0 / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003135/0.2721, allocations: 81.77 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/0.2721, allocations: 59.41 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.606e-05/0.2722, allocations: 101.9 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.2722, allocations: 25.7 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.554e-05/0.2723, allocations: 84.12 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.2723, allocations: 11.84 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.2723, allocations: 13.72 kB / 1.055 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.2724, allocations: 310.8 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.353e-05/0.2725, allocations: 27.97 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.563e-05/0.2726, allocations: 23.86 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.2727, allocations: 44.81 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2727, allocations: 4.188 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001721/0.2729, allocations: 69.73 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2729, allocations: 4 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2729, allocations: 4 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2729, allocations: 3.984 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/0.273, allocations: 8 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.273, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.2731, allocations: 7.984 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.2731, allocations: 0 / 1.056 GB, free: 4.754 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 6.659e-05/0.2731, allocations: 121.8 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2732, allocations: 7.906 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002071/0.2734, allocations: 77.17 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2734, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2734, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2734, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.2736, allocations: 165.6 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2736, allocations: 0 / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.351e-05/0.2736, allocations: 16.02 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2736, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.2736, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2736, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2736, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.2739, allocations: 171.4 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.898e-05/0.2739, allocations: 85.12 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.2739, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.356e-05/0.274, allocations: 4 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.274, allocations: 11.92 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.274, allocations: 0 / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.2741, allocations: 83.28 kB / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2741, allocations: 0 / 1.057 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002123/0.2743, allocations: 11.91 kB / 1.057 GB, free: 3.914 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.0004619/0.2748, allocations: 0.7085 MB / 1.057 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001853/0.275, allocations: 35.97 kB / 1.057 GB, free: 3.145 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.275, allocations: 8.031 kB / 1.057 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.712e-05/0.2751, allocations: 23.97 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.2753, allocations: 1.594 kB / 1.057 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003801/0.2757, allocations: 159.1 kB / 1.058 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.2759, allocations: 0.6807 MB / 1.058 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.319e-05/0.2759, allocations: 8.062 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.838e-05/0.276, allocations: 7.438 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.276, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4987/0.7747, allocations: 1.272 MB / 1.06 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003931/0.7751, allocations: 195.7 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.39, allocations: 0 / 1.06 GB, free: 0.7773 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial.fmu > 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