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.00119/0.00119, allocations: 108 kB / 15.6 MB, free: 132 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.001147/0.001147, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.537/2.537, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5706/0.5719, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002524/0.5744, allocations: 1.439 MB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002705/0.5747, allocations: 96.58 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.521e-05/0.5748, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.559e-05/0.5748, allocations: 3.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.994e-05/0.5749, allocations: 3.938 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.5751, allocations: 15.98 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.476e-05/0.5751, allocations: 23.92 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.5752, allocations: 11.97 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.5753, allocations: 15.94 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.473e-05/0.5753, allocations: 15.92 kB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.5753, allocations: 0 / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.636e-05/0.5754, allocations: 19.98 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.441e-05/0.5755, allocations: 3.938 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.5755, allocations: 15.92 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.5756, allocations: 31.95 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5756, allocations: 7.938 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5756, allocations: 0 / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.5756, allocations: 3.984 kB / 1.019 GB, free: 0.7344 MB / 0.7637 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.0003984/0.576, allocations: 347.4 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.5761, allocations: 8.031 kB / 1.019 GB, free: 348 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.5761, allocations: 34.69 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.5761, allocations: 4.844 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.972e-05/0.5762, allocations: 168.3 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.5763, allocations: 384 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.5763, allocations: 4.375 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.5764, allocations: 58.23 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.5765, allocations: 7.938 kB / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.5765, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5765, allocations: 0 / 1.02 GB, free: 16 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001846/0.5767, allocations: 35.95 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.577, allocations: 252.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.5771, allocations: 46.5 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.951e-05/0.5772, allocations: 28.89 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.5772, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.5773, allocations: 34.56 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.61e-07/0.5773, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003832/0.5777, allocations: 97.58 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.5777, allocations: 51.41 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.5778, allocations: 106 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.5778, allocations: 25.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.5778, allocations: 84.14 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.5779, allocations: 7.906 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.5779, allocations: 9.719 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.578, allocations: 318.9 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.492e-05/0.5781, allocations: 19.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.5782, allocations: 24.05 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.5783, allocations: 40.81 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5783, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.5785, allocations: 81.66 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5786, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.5786, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.5786, allocations: 3.938 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.5787, allocations: 11.98 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.5787, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.5787, allocations: 4 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.5787, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 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 6.785e-05/0.5788, allocations: 121.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.5788, allocations: 3.906 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.5791, allocations: 77.12 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5791, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5791, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5791, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.5792, allocations: 161.6 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5793, allocations: 4.031 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.807e-05/0.5793, allocations: 11.98 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.5793, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.5793, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5793, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5793, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.5796, allocations: 171.5 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.5796, allocations: 77.11 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.5796, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.5797, allocations: 7.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.5798, allocations: 11.94 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.5798, allocations: 0 / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.5798, allocations: 87.27 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5798, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002283/0.5801, allocations: 12 kB / 1.022 GB, free: 13.77 MB / 0.7794 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.0004933/0.5806, allocations: 0.7085 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002128/0.5808, allocations: 47.92 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5808, allocations: 0 / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.848e-05/0.5809, allocations: 19.98 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.5812, allocations: 5.875 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.5816, allocations: 135.2 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.5818, allocations: 0.6846 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.5818, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.932e-05/0.5818, allocations: 11.44 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.5819, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.5991, allocations: 1.401 MB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.037/7.637, allocations: 0.625 kB / 1.025 GB, free: 10.72 MB / 0.7794 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