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.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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.001818/0.001818, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001972/0.001972, allocations: 190.9 kB / 16.25 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.761/1.761, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.175/3.175, allocations: 461.9 MB / 0.7344 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 66.66 kB / 0.8987 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3182, allocations: 157.4 MB / 1.052 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001873/0.3201, allocations: 0.6503 MB / 1.053 GB, free: 8.008 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002263/0.3203, allocations: 43.81 kB / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.818e-06/0.3204, allocations: 0 / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.3204, allocations: 0 / 1.053 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.3204, allocations: 4 kB / 1.053 GB, free: 7.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3207, allocations: 8 kB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.458e-05/0.3207, allocations: 0 / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.3208, allocations: 7.984 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.474e-05/0.3208, allocations: 0 / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.127e-05/0.3208, allocations: 3.938 kB / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.765e-06/0.3208, allocations: 0 / 1.053 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.844e-05/0.3209, allocations: 19.98 kB / 1.053 GB, free: 7.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.3209, allocations: 3.984 kB / 1.053 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.321, allocations: 4 kB / 1.053 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.916e-05/0.321, allocations: 7.984 kB / 1.053 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3211, allocations: 4 kB / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3211, allocations: 0 / 1.053 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.3211, allocations: 0 / 1.053 GB, free: 7.902 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.0002697/0.3213, allocations: 323.5 kB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.3214, allocations: 12.66 kB / 1.053 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.3214, allocations: 30.75 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.218e-05/0.3215, allocations: 0.9375 kB / 1.054 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.3215, allocations: 168.4 kB / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3216, allocations: 384 / 1.054 GB, free: 7.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/0.3216, allocations: 4.375 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.117e-05/0.3217, allocations: 34.2 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.3217, allocations: 3.938 kB / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.3217, allocations: 0 / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.3217, allocations: 0 / 1.054 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.3217, allocations: 4 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.3218, allocations: 149.7 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.461e-05/0.3219, allocations: 14.58 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.3219, allocations: 16.89 kB / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3219, allocations: 0 / 1.054 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.322, allocations: 30.56 kB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.322, allocations: 4 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.3221, allocations: 37.64 kB / 1.054 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.3221, allocations: 55.41 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.815e-05/0.3222, allocations: 93.8 kB / 1.054 GB, free: 6.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3222, allocations: 33.81 kB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.44e-05/0.3222, allocations: 80.14 kB / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3223, allocations: 0 / 1.054 GB, free: 6.617 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.507e-05/0.3223, allocations: 13.72 kB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.3224, allocations: 310.8 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.3224, allocations: 0 / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.3224, allocations: 7.938 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.595e-05/0.3224, allocations: 12.92 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3225, allocations: 4 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.164e-05/0.3225, allocations: 33.69 kB / 1.055 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.3225, allocations: 4 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3226, allocations: 3.938 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3226, allocations: 4 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.3226, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3226, allocations: 0 / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.3227, allocations: 3.938 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3227, allocations: 4 kB / 1.055 GB, free: 6.199 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.315e-05/0.3227, allocations: 113.8 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-06/0.3227, allocations: 0 / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.3229, allocations: 52.75 kB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3229, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3229, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3229, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.819e-05/0.323, allocations: 145.7 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.323, allocations: 4.031 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.909e-05/0.323, allocations: 4 kB / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.323, allocations: 0 / 1.055 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.323, allocations: 3.938 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.323, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.323, allocations: 0 / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.368e-05/0.3231, allocations: 65.06 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.133e-05/0.3231, allocations: 81.14 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.087e-05/0.3231, allocations: 3.938 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.171e-05/0.3232, allocations: 0 / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.188e-05/0.3232, allocations: 4 kB / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.3232, allocations: 0 / 1.055 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.22e-05/0.3232, allocations: 75.28 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3232, allocations: 0 / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001956/0.3234, allocations: 4 kB / 1.055 GB, free: 5.555 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.0003349/0.3237, allocations: 0.6087 MB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.561e-05/0.3238, allocations: 11.98 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.3238, allocations: 0 / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.438e-06/0.3238, allocations: 4 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.324, allocations: 1.719 kB / 1.056 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002585/0.3242, allocations: 114.7 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.3244, allocations: 0.6729 MB / 1.056 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.74e-05/0.3245, allocations: 4 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.3245, allocations: 7.438 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of SimCode: time 1.683e-06/0.3245, allocations: 0 / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9172/1.242, allocations: 0.9322 MB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/1.242, allocations: 210.8 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/3.819, allocations: 3.938 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > 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