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.001464/0.001464, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 65.45 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2779, allocations: 157.4 MB / 1.053 GB, free: 8.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003005/0.2809, allocations: 1.44 MB / 1.054 GB, free: 6.812 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0003296/0.2813, allocations: 95.73 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.814e-05/0.2813, allocations: 4 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.01e-05/0.2814, allocations: 0 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.2815, allocations: 3.938 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2817, allocations: 19.91 kB / 1.054 GB, free: 6.691 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.2818, allocations: 23.98 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2819, allocations: 8 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.772e-05/0.282, allocations: 15.92 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.125e-05/0.282, allocations: 4 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.2821, allocations: 7.938 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.2822, allocations: 23.91 kB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.2822, allocations: 8 kB / 1.054 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.2822, allocations: 3.938 kB / 1.055 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.2824, allocations: 39.88 kB / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2824, allocations: 0 / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2824, allocations: 0 / 1.055 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.2824, allocations: 0 / 1.055 GB, free: 6.559 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.0004877/0.2829, allocations: 353.4 kB / 1.055 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.283, allocations: 8.625 kB / 1.055 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/0.283, allocations: 38.75 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.283, allocations: 0.9375 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.2832, allocations: 172.4 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.2832, allocations: 384 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.2832, allocations: 384 / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.2834, allocations: 62.16 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2834, allocations: 3.938 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2834, allocations: 0 / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.2834, allocations: 4 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.2836, allocations: 35.95 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000363/0.284, allocations: 252.9 kB / 1.055 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.2841, allocations: 54.42 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.2842, allocations: 16.91 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.2843, allocations: 4 kB / 1.056 GB, free: 5.41 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.2843, allocations: 34.56 kB / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2843, allocations: 0 / 1.056 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.2847, allocations: 85.64 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2848, allocations: 59.39 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.41e-05/0.2848, allocations: 101.9 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.2849, allocations: 33.64 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.2849, allocations: 88.06 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.2849, allocations: 7.844 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.285, allocations: 17.84 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.2851, allocations: 314.8 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.046e-05/0.2852, allocations: 27.91 kB / 1.056 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.2853, allocations: 11.98 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.2855, allocations: 44.83 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2855, allocations: 8 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.2857, allocations: 65.66 kB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2857, allocations: 9.094 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2857, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2857, allocations: 0 / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.2858, allocations: 11.92 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2858, allocations: 0 / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.948e-05/0.2859, allocations: 7.984 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2859, allocations: 8.031 kB / 1.056 GB, free: 4.422 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 8.313e-05/0.286, allocations: 113.8 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/0.286, allocations: 3.906 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.2863, allocations: 77.17 kB / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2863, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2863, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2863, allocations: 0 / 1.057 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2865, allocations: 169.9 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.2865, allocations: 4 kB / 1.057 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.2866, allocations: 7.984 kB / 1.057 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2866, allocations: 4 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.2866, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.2866, allocations: 7.922 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2866, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002538/0.2869, allocations: 171.5 kB / 1.057 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/0.2869, allocations: 81.09 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2869, allocations: 0 / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.287, allocations: 4 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.2871, allocations: 3.984 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.2871, allocations: 0 / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.2871, allocations: 87.28 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.6e-07/0.2871, allocations: 0 / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002371/0.2874, allocations: 15.94 kB / 1.057 GB, free: 3.586 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.0005827/0.288, allocations: 0.7045 MB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.2882, allocations: 47.88 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2882, allocations: 4 kB / 1.058 GB, free: 2.805 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.729e-05/0.2883, allocations: 23.97 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.2886, allocations: 0 / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004586/0.2891, allocations: 151.2 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.2893, allocations: 0.6807 MB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.518e-05/0.2894, allocations: 3.984 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.2894, allocations: 11.44 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2894, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.3077, allocations: 1.388 MB / 1.06 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.159/7.466, allocations: 9.594 kB / 1.06 GB, free: 0.5352 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