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.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.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.001119/0.001119, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001028/0.001028, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.634/2.634, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 65.25 kB / 0.8985 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2899, allocations: 157.4 MB / 1.052 GB, free: 8.211 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001952/0.2919, allocations: 0.6521 MB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002388/0.2921, allocations: 39.88 kB / 1.053 GB, free: 7.516 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.001e-05/0.2921, allocations: 3.938 kB / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.2922, allocations: 0 / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-06/0.2922, allocations: 0 / 1.053 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.2924, allocations: 8 kB / 1.053 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 3.281e-05/0.2925, allocations: 4 kB / 1.053 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.515e-05/0.2925, allocations: 3.984 kB / 1.053 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.2925, allocations: 4 kB / 1.053 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.2926, allocations: 7.984 kB / 1.053 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.2926, allocations: 0 / 1.053 GB, free: 7.484 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-05/0.2927, allocations: 19.92 kB / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.417e-06/0.2927, allocations: 0 / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.643e-05/0.2927, allocations: 0 / 1.053 GB, free: 7.465 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.41e-05/0.2928, allocations: 19.92 kB / 1.053 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2928, allocations: 0 / 1.053 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.12e-07/0.2928, allocations: 0 / 1.053 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.2928, allocations: 0 / 1.053 GB, free: 7.445 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.0003062/0.2931, allocations: 319.6 kB / 1.053 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2932, allocations: 15.97 kB / 1.053 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.2932, allocations: 30.75 kB / 1.053 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.146e-05/0.2932, allocations: 0.9375 kB / 1.053 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.975e-05/0.2933, allocations: 164.4 kB / 1.053 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.2934, allocations: 4.375 kB / 1.053 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-06/0.2934, allocations: 384 / 1.053 GB, free: 6.824 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.683e-05/0.2935, allocations: 30.27 kB / 1.054 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2935, allocations: 3.938 kB / 1.054 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2935, allocations: 4 kB / 1.054 GB, free: 6.781 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2935, allocations: 4 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.008e-05/0.2935, allocations: 3.938 kB / 1.054 GB, free: 6.773 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001334/0.2937, allocations: 149.7 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.44e-05/0.2937, allocations: 14.58 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.2937, allocations: 8.953 kB / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.2938, allocations: 0 / 1.054 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2938, allocations: 38.55 kB / 1.054 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.2938, allocations: 4 kB / 1.054 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.2939, allocations: 41.58 kB / 1.054 GB, free: 6.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.294, allocations: 55.41 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.026e-05/0.294, allocations: 89.86 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.294, allocations: 25.7 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.616e-05/0.294, allocations: 84.12 kB / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.2941, allocations: 0 / 1.054 GB, free: 6.164 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.2941, allocations: 17.72 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.2942, allocations: 315 kB / 1.054 GB, free: 5.824 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.318e-06/0.2942, allocations: 3.938 kB / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.823e-06/0.2943, allocations: 0 / 1.054 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.2943, allocations: 8.859 kB / 1.054 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2943, allocations: 7.875 kB / 1.054 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.74e-05/0.2944, allocations: 37.69 kB / 1.054 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.2944, allocations: 4 kB / 1.054 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2944, allocations: 4.031 kB / 1.054 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.2944, allocations: 4 kB / 1.054 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.2945, allocations: 4 kB / 1.054 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.257e-06/0.2945, allocations: 0 / 1.054 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.292e-05/0.2945, allocations: 0 / 1.054 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2945, allocations: 0 / 1.054 GB, free: 5.742 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 7.245e-05/0.2946, allocations: 113.8 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.2946, allocations: 0 / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.2947, allocations: 48.69 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2947, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2947, allocations: 4 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2947, allocations: 0 / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2948, allocations: 149.7 kB / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2948, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.911e-05/0.2949, allocations: 0 / 1.055 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2949, allocations: 4 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.2949, allocations: 3.938 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.2949, allocations: 8.031 kB / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2949, allocations: 0 / 1.055 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.038e-05/0.295, allocations: 57.12 kB / 1.055 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.035e-05/0.295, allocations: 77.11 kB / 1.055 GB, free: 5.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.295, allocations: 7.938 kB / 1.055 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.2951, allocations: 3.938 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.2951, allocations: 0 / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.2951, allocations: 4 kB / 1.055 GB, free: 5.172 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.48e-05/0.2951, allocations: 79.31 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2951, allocations: 0 / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002059/0.2953, allocations: 4 kB / 1.055 GB, free: 5.09 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.0004138/0.2957, allocations: 0.601 MB / 1.056 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.748e-05/0.2958, allocations: 12.02 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2958, allocations: 3.938 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.548e-06/0.2958, allocations: 0 / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.296, allocations: 7.938 kB / 1.056 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000294/0.2963, allocations: 112.3 kB / 1.056 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.2966, allocations: 0.6731 MB / 1.056 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.9e-05/0.2966, allocations: 4.125 kB / 1.056 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.329e-05/0.2966, allocations: 11.44 kB / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of SimCode: time 3.31e-07/0.2966, allocations: 0 / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01067/0.3073, allocations: 0.8794 MB / 1.057 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/0.3075, allocations: 213.1 kB / 1.057 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.674/1.982, allocations: 0 / 1.057 GB, free: 2.527 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