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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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.007855/0.007855, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.002245/0.002245, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.603/2.603, allocations: 482.6 MB / 0.7551 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001804, allocations: 66.58 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2881, allocations: 162.3 MB / 1.242 GB, free: 8.859 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001652/0.2898, allocations: 0.5913 MB / 1.242 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002212/0.29, allocations: 35.88 kB / 1.243 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.477e-05/0.29, allocations: 0 / 1.243 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.083e-05/0.2901, allocations: 0 / 1.243 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.2901, allocations: 0 / 1.243 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.2903, allocations: 19.92 kB / 1.243 GB, free: 8.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 4.258e-05/0.2904, allocations: 3.984 kB / 1.243 GB, free: 8.211 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.2904, allocations: 4 kB / 1.243 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.425e-05/0.2905, allocations: 4 kB / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.422e-05/0.2905, allocations: 0 / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.2905, allocations: 0 / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.456e-05/0.2906, allocations: 15.98 kB / 1.243 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.155e-06/0.2906, allocations: 3.938 kB / 1.243 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.2906, allocations: 0 / 1.243 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.767e-05/0.2907, allocations: 15.97 kB / 1.243 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2907, allocations: 0 / 1.243 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2908, allocations: 4 kB / 1.243 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.2908, allocations: 0 / 1.243 GB, free: 8.164 MB / 0.9669 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.0003168/0.2911, allocations: 319.8 kB / 1.243 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2911, allocations: 12.03 kB / 1.243 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.394e-05/0.2912, allocations: 34.73 kB / 1.243 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.881e-05/0.2912, allocations: 0.9375 kB / 1.243 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.2913, allocations: 164.4 kB / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2913, allocations: 384 / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.2913, allocations: 384 / 1.243 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.733e-05/0.2914, allocations: 34.27 kB / 1.243 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.2914, allocations: 3.938 kB / 1.243 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.751e-06/0.2914, allocations: 0 / 1.243 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.2915, allocations: 0 / 1.243 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.108e-05/0.2915, allocations: 4 kB / 1.243 GB, free: 7.5 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001477/0.2916, allocations: 149.7 kB / 1.243 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.159e-05/0.2917, allocations: 18.52 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.2917, allocations: 8.953 kB / 1.243 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.899e-05/0.2917, allocations: 7.938 kB / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.2918, allocations: 30.56 kB / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2918, allocations: 0 / 1.243 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001239/0.2919, allocations: 49.56 kB / 1.243 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2919, allocations: 51.41 kB / 1.243 GB, free: 7.102 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.623e-05/0.292, allocations: 93.8 kB / 1.244 GB, free: 7 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.292, allocations: 25.7 kB / 1.244 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.2921, allocations: 84.27 kB / 1.244 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.2921, allocations: 3.953 kB / 1.244 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.2921, allocations: 14.06 kB / 1.244 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2923, allocations: 314.8 kB / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.288e-06/0.2923, allocations: 0 / 1.244 GB, free: 6.543 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.2923, allocations: 4 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.067e-05/0.2923, allocations: 8.844 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2923, allocations: 0 / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.373e-05/0.2924, allocations: 41.7 kB / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2924, allocations: 5.875 kB / 1.244 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.2924, allocations: 3.938 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2924, allocations: 3.984 kB / 1.244 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.116e-05/0.2925, allocations: 4 kB / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.2925, allocations: 0 / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.2925, allocations: 0 / 1.244 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2925, allocations: 4 kB / 1.244 GB, free: 6.461 MB / 0.9669 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.611e-05/0.2926, allocations: 113.8 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.2926, allocations: 4.031 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.273e-05/0.2927, allocations: 40.77 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2927, allocations: 0 / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.2927, allocations: 4 kB / 1.244 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.2928, allocations: 3.984 kB / 1.244 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001044/0.2929, allocations: 141.7 kB / 1.244 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2929, allocations: 3.938 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.2929, allocations: 12.03 kB / 1.244 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.2929, allocations: 0 / 1.244 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.2929, allocations: 3.938 kB / 1.244 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.2929, allocations: 0 / 1.244 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2929, allocations: 0 / 1.244 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.002e-05/0.293, allocations: 57.12 kB / 1.244 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.375e-05/0.293, allocations: 77.11 kB / 1.244 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.2931, allocations: 3.938 kB / 1.244 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.224e-05/0.2931, allocations: 8.031 kB / 1.244 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.2931, allocations: 0 / 1.244 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.2931, allocations: 7.938 kB / 1.244 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.447e-05/0.2931, allocations: 87.2 kB / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.2931, allocations: 0 / 1.245 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001871/0.2933, allocations: 7.938 kB / 1.245 GB, free: 5.797 MB / 0.9669 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.0004113/0.2938, allocations: 0.6051 MB / 1.245 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 5.991e-05/0.2938, allocations: 4 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2938, allocations: 0 / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-06/0.2938, allocations: 4 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001216/0.294, allocations: 0 / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.2942, allocations: 114.7 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.2945, allocations: 0.6729 MB / 1.246 GB, free: 4.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.2946, allocations: 4 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.2946, allocations: 7.438 kB / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.2946, allocations: 0 / 1.246 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/0.5028, allocations: 1.009 MB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.656, allocations: 19.08 kB / 1.247 GB, free: 3.355 MB / 0.9669 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=400 --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