Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_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.006114/0.006114, allocations: 100.9 kB / 15.73 MB, free: 6 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.001537/0.001537, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.506/1.506, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.75/2.75, allocations: 437 MB / 0.7105 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.89 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 151.6 MB / 1.166 GB, free: 7.238 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001647/0.2967, allocations: 0.5844 MB / 1.167 GB, free: 6.652 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002241/0.2969, allocations: 39.88 kB / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.141e-05/0.2969, allocations: 0 / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.297, allocations: 0 / 1.167 GB, free: 6.613 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.55e-06/0.297, allocations: 8 kB / 1.167 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.2972, allocations: 7.984 kB / 1.167 GB, free: 6.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 4.032e-05/0.2973, allocations: 7.938 kB / 1.167 GB, free: 6.59 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.2973, allocations: 4 kB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.29e-05/0.2974, allocations: 0 / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.2974, allocations: 3.984 kB / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.829e-06/0.2974, allocations: 0 / 1.167 GB, free: 6.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.2975, allocations: 15.98 kB / 1.167 GB, free: 6.566 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.2976, allocations: 3.938 kB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.2976, allocations: 7.984 kB / 1.167 GB, free: 6.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.983e-05/0.2977, allocations: 19.92 kB / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2977, allocations: 0 / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2977, allocations: 0 / 1.167 GB, free: 6.535 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.2977, allocations: 0 / 1.167 GB, free: 6.535 MB / 0.92 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.0003337/0.2981, allocations: 315.8 kB / 1.167 GB, free: 6.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.2981, allocations: 12.03 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.689e-05/0.2981, allocations: 30.75 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.963e-05/0.2982, allocations: 0.9375 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.2983, allocations: 160.4 kB / 1.167 GB, free: 5.93 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2983, allocations: 4.312 kB / 1.167 GB, free: 5.926 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.771e-06/0.2983, allocations: 4.375 kB / 1.167 GB, free: 5.922 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.2984, allocations: 38.25 kB / 1.167 GB, free: 5.879 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.2984, allocations: 3.938 kB / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.173e-06/0.2985, allocations: 0 / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.2985, allocations: 0 / 1.167 GB, free: 5.875 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.016e-05/0.2985, allocations: 4 kB / 1.167 GB, free: 5.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.2986, allocations: 141.7 kB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 4.206e-05/0.2987, allocations: 22.52 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.533e-05/0.2987, allocations: 8.953 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.2988, allocations: 3.984 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.2988, allocations: 34.56 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2988, allocations: 0 / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001271/0.2989, allocations: 41.59 kB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.299, allocations: 51.41 kB / 1.168 GB, free: 5.484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.583e-05/0.299, allocations: 89.86 kB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.299, allocations: 33.77 kB / 1.168 GB, free: 5.348 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.2991, allocations: 80.48 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.2991, allocations: 0 / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.2992, allocations: 21.7 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2993, allocations: 310.8 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.2993, allocations: 3.938 kB / 1.168 GB, free: 4.922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.2993, allocations: 4 kB / 1.168 GB, free: 4.918 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.971e-05/0.2994, allocations: 8.922 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.2994, allocations: 4 kB / 1.168 GB, free: 4.902 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.739e-05/0.2994, allocations: 29.7 kB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.2995, allocations: 4 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.2995, allocations: 7.922 kB / 1.168 GB, free: 4.855 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2995, allocations: 4 kB / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.2995, allocations: 0 / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.2995, allocations: 0 / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.514e-05/0.2996, allocations: 0 / 1.168 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2996, allocations: 7.938 kB / 1.168 GB, free: 4.844 MB / 0.92 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.435e-05/0.2997, allocations: 117.8 kB / 1.168 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.2997, allocations: 0 / 1.168 GB, free: 4.719 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.2998, allocations: 48.75 kB / 1.168 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.2998, allocations: 0 / 1.168 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2998, allocations: 0 / 1.168 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2998, allocations: 0 / 1.168 GB, free: 4.664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.2999, allocations: 149.7 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2999, allocations: 0 / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.3, allocations: 7.984 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3, allocations: 0 / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.3, allocations: 3.938 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3, allocations: 0 / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.3001, allocations: 61.08 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.3001, allocations: 93.11 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.3001, allocations: 3.938 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.09e-05/0.3002, allocations: 0 / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.3002, allocations: 4 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3002, allocations: 0 / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.3002, allocations: 79.22 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3003, allocations: 0 / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002038/0.3005, allocations: 7.938 kB / 1.169 GB, free: 4.176 MB / 0.92 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.0004336/0.3009, allocations: 0.6046 MB / 1.169 GB, free: 3.539 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.374e-05/0.301, allocations: 4 kB / 1.169 GB, free: 3.535 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.301, allocations: 0 / 1.169 GB, free: 3.535 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.989e-06/0.301, allocations: 4 kB / 1.169 GB, free: 3.531 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.3011, allocations: 0 / 1.169 GB, free: 3.531 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002986/0.3014, allocations: 110.7 kB / 1.17 GB, free: 3.383 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3017, allocations: 0.669 MB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.3018, allocations: 4 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.3018, allocations: 7.438 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.3018, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.3244, allocations: 1.023 MB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.938/8.262, allocations: 10.77 kB / 1.171 GB, free: 1.738 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches