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: "" <> 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.001126/0.001129, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001229/0.001228, allocations: 194.9 kB / 16.14 MB, free: 6.645 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 461.9 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 67.41 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2972, allocations: 157.4 MB / 1.052 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00317/0.3004, allocations: 1.506 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003432/0.3008, allocations: 99.8 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.921e-05/0.3008, allocations: 0 / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.179e-05/0.3009, allocations: 3.938 kB / 1.054 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.476e-05/0.3009, allocations: 4 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.3012, allocations: 11.98 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.169e-05/0.3012, allocations: 23.92 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.3014, allocations: 4 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.3014, allocations: 15.94 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.3015, allocations: 11.97 kB / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.3015, allocations: 0 / 1.054 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.612e-05/0.3016, allocations: 19.92 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.244e-05/0.3016, allocations: 15.92 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.852e-05/0.3017, allocations: 7.938 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3018, allocations: 31.89 kB / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3018, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3018, allocations: 0 / 1.054 GB, free: 6.484 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.3018, allocations: 0 / 1.054 GB, free: 6.484 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.0004671/0.3023, allocations: 351.7 kB / 1.054 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3023, allocations: 11.97 kB / 1.054 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.964e-05/0.3024, allocations: 34.75 kB / 1.054 GB, free: 6.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.3024, allocations: 4.875 kB / 1.054 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.3025, allocations: 168.4 kB / 1.054 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.3025, allocations: 4.375 kB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.376e-06/0.3026, allocations: 384 / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3028, allocations: 54.17 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3028, allocations: 7.938 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3028, allocations: 3.984 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.3028, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.303, allocations: 35.97 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.3033, allocations: 260.9 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3034, allocations: 46.48 kB / 1.055 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.726e-05/0.3036, allocations: 24.84 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.3036, allocations: 4 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.3036, allocations: 30.56 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.3036, allocations: 0 / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003621/0.304, allocations: 89.64 kB / 1.055 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.304, allocations: 51.41 kB / 1.055 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.783e-05/0.3041, allocations: 105.8 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.3042, allocations: 29.7 kB / 1.055 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.3042, allocations: 84.14 kB / 1.055 GB, free: 4.898 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.3042, allocations: 11.83 kB / 1.055 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-05/0.3043, allocations: 17.72 kB / 1.055 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.3044, allocations: 315 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.3045, allocations: 23.92 kB / 1.056 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.3046, allocations: 15.97 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3048, allocations: 44.77 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.3048, allocations: 3.938 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.305, allocations: 73.72 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.261e-05/0.305, allocations: 4 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.305, allocations: 4 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.305, allocations: 0 / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.3051, allocations: 8.234 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3051, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.262e-05/0.3052, allocations: 11.98 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.3052, allocations: 3.938 kB / 1.056 GB, free: 4.348 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 7.005e-05/0.3053, allocations: 117.8 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3053, allocations: 3.906 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002559/0.3056, allocations: 77.19 kB / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.3056, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3056, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3056, allocations: 0 / 1.056 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.3057, allocations: 165.6 kB / 1.056 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3058, allocations: 7.938 kB / 1.056 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.982e-05/0.3058, allocations: 11.98 kB / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3058, allocations: 0 / 1.056 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.3059, allocations: 4 kB / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3059, allocations: 0 / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3059, allocations: 0 / 1.056 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.3061, allocations: 171.4 kB / 1.056 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.3062, allocations: 77.11 kB / 1.056 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3062, allocations: 4 kB / 1.056 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.749e-05/0.3063, allocations: 7.984 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.3063, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-06/0.3063, allocations: 0 / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.884e-05/0.3064, allocations: 91.27 kB / 1.056 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3064, allocations: 0 / 1.056 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002224/0.3066, allocations: 11.91 kB / 1.056 GB, free: 3.512 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.0005477/0.3072, allocations: 0.7046 MB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.3074, allocations: 40 kB / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.3074, allocations: 0 / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.3075, allocations: 31.91 kB / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.3078, allocations: 0 / 1.057 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.3082, allocations: 144.9 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3085, allocations: 0.6811 MB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.304e-05/0.3085, allocations: 0 / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.858e-05/0.3085, allocations: 19.42 kB / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of SimCode: time 3.186e-06/0.3086, allocations: 0 / 1.058 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.3262, allocations: 1.231 MB / 1.059 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/0.3264, allocations: 196.5 kB / 1.059 GB, free: 412 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.729/2.056, allocations: 0 / 1.059 GB, free: 412 kB / 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