Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_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.005379/0.005379, allocations: 97.17 kB / 15.73 MB, free: 6.047 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.001322/0.001322, allocations: 194.5 kB / 16.68 MB, free: 5.973 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.71/2.71, allocations: 437 MB / 0.7105 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3026, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002965/0.3057, allocations: 1.434 MB / 1.168 GB, free: 5.859 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0003293/0.306, allocations: 92.59 kB / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.3061, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.067e-05/0.3061, allocations: 0 / 1.168 GB, free: 5.766 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.3062, allocations: 3.938 kB / 1.168 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002564/0.3064, allocations: 27.97 kB / 1.168 GB, free: 5.734 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.174e-05/0.3065, allocations: 23.86 kB / 1.168 GB, free: 5.711 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.033e-05/0.3066, allocations: 15.98 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.3067, allocations: 4 kB / 1.168 GB, free: 5.691 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.3067, allocations: 15.92 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3067, allocations: 0 / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3068, allocations: 23.92 kB / 1.168 GB, free: 5.652 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.3069, allocations: 7.984 kB / 1.168 GB, free: 5.645 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3069, allocations: 11.94 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.3071, allocations: 44.09 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3071, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3071, allocations: 0 / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.458e-06/0.3071, allocations: 0 / 1.168 GB, free: 5.59 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005544/0.3077, allocations: 351.3 kB / 1.168 GB, free: 5.195 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3077, allocations: 8.031 kB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.3077, allocations: 30.75 kB / 1.168 GB, free: 5.148 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.3078, allocations: 4.938 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3079, allocations: 160.4 kB / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.308, allocations: 384 / 1.168 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.308, allocations: 4.375 kB / 1.168 GB, free: 4.945 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.3082, allocations: 62.11 kB / 1.168 GB, free: 4.879 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3082, allocations: 3.938 kB / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.3082, allocations: 0 / 1.168 GB, free: 4.875 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.3082, allocations: 3.984 kB / 1.168 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.3084, allocations: 31.97 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003667/0.3088, allocations: 256.9 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3089, allocations: 50.44 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.532e-05/0.309, allocations: 28.89 kB / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.18e-05/0.3091, allocations: 0 / 1.169 GB, free: 4.449 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3091, allocations: 34.56 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3091, allocations: 0 / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003668/0.3095, allocations: 89.64 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.3096, allocations: 55.34 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.3096, allocations: 105.8 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.3097, allocations: 25.7 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.3097, allocations: 88.08 kB / 1.169 GB, free: 4.012 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.3098, allocations: 11.89 kB / 1.169 GB, free: 4 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.3098, allocations: 13.7 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3099, allocations: 319 kB / 1.169 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.147e-05/0.31, allocations: 15.98 kB / 1.17 GB, free: 3.645 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.61e-05/0.3101, allocations: 23.97 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3103, allocations: 36.83 kB / 1.17 GB, free: 3.582 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3103, allocations: 3.938 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001918/0.3105, allocations: 73.72 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3105, allocations: 4 kB / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.3105, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3105, allocations: 0 / 1.17 GB, free: 3.496 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.3106, allocations: 15.92 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3106, allocations: 0 / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.539e-05/0.3107, allocations: 7.953 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3107, allocations: 32 / 1.17 GB, free: 3.473 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 (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 0.0001028/0.3108, allocations: 125.8 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.3108, allocations: 0 / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/0.3111, allocations: 77.44 kB / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3111, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3111, allocations: 0 / 1.17 GB, free: 3.254 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3111, allocations: 7.938 kB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.3113, allocations: 161.6 kB / 1.17 GB, free: 3.039 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3113, allocations: 4 kB / 1.17 GB, free: 3.035 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.3114, allocations: 11.98 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3114, allocations: 0 / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.3114, allocations: 0 / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3114, allocations: 3.938 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3114, allocations: 3.984 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.3117, allocations: 171.5 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.551e-05/0.3117, allocations: 85.05 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3118, allocations: 4 kB / 1.17 GB, free: 2.727 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.3118, allocations: 3.984 kB / 1.17 GB, free: 2.723 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.3119, allocations: 4 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.3119, allocations: 0 / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.785e-05/0.312, allocations: 87.27 kB / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.312, allocations: 0 / 1.17 GB, free: 2.633 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000227/0.3122, allocations: 8.031 kB / 1.17 GB, free: 2.625 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 (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.0006627/0.3129, allocations: 0.7084 MB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.3131, allocations: 47.98 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3131, allocations: 0 / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.899e-05/0.3132, allocations: 15.98 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3135, allocations: 9.859 kB / 1.171 GB, free: 1.82 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.3139, allocations: 147 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/0.3143, allocations: 0.6807 MB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.071e-05/0.3143, allocations: 4.125 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.3144, allocations: 11.44 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of SimCode: time 2.81e-07/0.3144, allocations: 4 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.336, allocations: 1.421 MB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/8.538, allocations: 2.5 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches