Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_9_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.007426/0.007426, allocations: 102 kB / 15.73 MB, free: 6.051 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.00166/0.00166, allocations: 195 kB / 16.68 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.398/1.398, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.432/2.432, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 76.59 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.28, allocations: 140.4 MB / 1.088 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002223/0.2823, allocations: 0.5829 MB / 1.088 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0003095/0.2826, allocations: 43.81 kB / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.739e-05/0.2827, allocations: 0 / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.207e-05/0.2827, allocations: 0 / 1.088 GB, free: 1.344 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.033e-06/0.2828, allocations: 4 kB / 1.088 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.2831, allocations: 7.938 kB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 4.901e-05/0.2832, allocations: 4 kB / 1.088 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.023e-05/0.2832, allocations: 7.984 kB / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.585e-05/0.2832, allocations: 0 / 1.088 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.2833, allocations: 4 kB / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.2833, allocations: 0 / 1.088 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.2834, allocations: 15.98 kB / 1.088 GB, free: 1.301 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.1e-05/0.2834, allocations: 3.984 kB / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.2835, allocations: 0 / 1.088 GB, free: 1.297 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2836, allocations: 19.98 kB / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2836, allocations: 0 / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.793e-06/0.2836, allocations: 0 / 1.088 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.2836, allocations: 0 / 1.088 GB, free: 1.277 MB / 0.8419 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.0003863/0.284, allocations: 319.5 kB / 1.088 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.2841, allocations: 8.031 kB / 1.088 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.964e-05/0.2841, allocations: 34.69 kB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.2842, allocations: 0.9375 kB / 1.089 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2843, allocations: 164.4 kB / 1.089 GB, free: 0.6641 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.2843, allocations: 8.359 kB / 1.089 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-06/0.2843, allocations: 4.375 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.2845, allocations: 30.2 kB / 1.089 GB, free: 0.6172 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2845, allocations: 3.938 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.2845, allocations: 0 / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2845, allocations: 4 kB / 1.089 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.646e-05/0.2845, allocations: 4 kB / 1.089 GB, free: 0.6055 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.2847, allocations: 141.7 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.283e-05/0.2848, allocations: 30.53 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.2848, allocations: 4.859 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.344e-05/0.2848, allocations: 4.062 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.2849, allocations: 34.56 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2849, allocations: 0 / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.000162/0.285, allocations: 33.64 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2851, allocations: 55.34 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.412e-05/0.2851, allocations: 89.86 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.2852, allocations: 33.83 kB / 1.089 GB, free: 84 kB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.2852, allocations: 80.2 kB / 1.089 GB, free: 16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.093e-05/0.2853, allocations: 3.984 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.2853, allocations: 10.06 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2855, allocations: 314.8 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.321e-05/0.2855, allocations: 4 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-06/0.2855, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/0.2856, allocations: 12.92 kB / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2856, allocations: 0 / 1.09 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.538e-05/0.2856, allocations: 37.62 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2857, allocations: 10.03 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.2857, allocations: 3.938 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2857, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.2858, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.2858, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.2858, allocations: 7.938 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.2858, allocations: 0 / 1.09 GB, free: 15.58 MB / 0.8575 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 8.635e-05/0.2859, allocations: 113.9 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.286, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2861, allocations: 44.75 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2861, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.2861, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2861, allocations: 4 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.2862, allocations: 157.7 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2862, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.2863, allocations: 3.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2863, allocations: 0 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.2863, allocations: 3.938 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.2863, allocations: 7.938 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2863, allocations: 0 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.289e-05/0.2864, allocations: 57.03 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.393e-05/0.2864, allocations: 81.14 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.2864, allocations: 7.938 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.673e-05/0.2865, allocations: 8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.2865, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.2865, allocations: 0 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.073e-05/0.2865, allocations: 75.28 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2865, allocations: 0 / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002472/0.2868, allocations: 4 kB / 1.09 GB, free: 14.92 MB / 0.8575 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.0003967/0.2872, allocations: 0.6073 MB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.216e-05/0.2873, allocations: 7.984 kB / 1.091 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2873, allocations: 4 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.156e-06/0.2873, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.2874, allocations: 0 / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/0.2878, allocations: 118.8 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.288, allocations: 0.6768 MB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.505e-05/0.2881, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.2881, allocations: 7.438 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of SimCode: time 1.673e-06/0.2881, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.3053, allocations: 1.022 MB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.751, allocations: 11.55 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches