Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_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.006751/0.006751, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001736/0.001736, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 67.89 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2737, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002422/0.2761, allocations: 1.456 MB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002683/0.2764, allocations: 87.73 kB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.225e-05/0.2764, allocations: 0 / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.456e-05/0.2765, allocations: 11.92 kB / 1.222 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.932e-05/0.2765, allocations: 4 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.2767, allocations: 19.92 kB / 1.222 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.062e-05/0.2768, allocations: 23.92 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.762e-05/0.2769, allocations: 8 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.97e-05/0.2769, allocations: 15.92 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.175e-05/0.277, allocations: 0 / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.277, allocations: 7.938 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.308e-05/0.2771, allocations: 19.97 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.245e-05/0.2771, allocations: 8 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.2772, allocations: 15.92 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.2773, allocations: 35.89 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2773, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2773, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.696e-06/0.2773, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 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.0004349/0.2777, allocations: 351.3 kB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2778, allocations: 8.031 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.2778, allocations: 34.75 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.2778, allocations: 0.9375 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.278, allocations: 180.3 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.278, allocations: 384 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.278, allocations: 384 / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.2782, allocations: 50.23 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2782, allocations: 3.938 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-06/0.2782, allocations: 0 / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.2782, allocations: 4 kB / 1.222 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.2784, allocations: 39.95 kB / 1.222 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000314/0.2787, allocations: 249 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.2789, allocations: 54.41 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.083e-05/0.279, allocations: 24.84 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.725e-05/0.279, allocations: 4 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.279, allocations: 34.56 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.2791, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.2794, allocations: 93.56 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.2795, allocations: 51.41 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.208e-05/0.2796, allocations: 101.9 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.2796, allocations: 25.83 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.2796, allocations: 96.12 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/0.2797, allocations: 11.88 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.2797, allocations: 13.72 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2798, allocations: 314.8 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.058e-05/0.2799, allocations: 19.97 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.28, allocations: 15.98 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.2802, allocations: 44.89 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.2802, allocations: 3.938 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.2804, allocations: 73.55 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2804, allocations: 8 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.2804, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.2805, allocations: 256 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.2805, allocations: 12.02 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2806, allocations: 4 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.2806, allocations: 7.984 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2806, allocations: 8 kB / 1.224 GB, free: 10.45 MB / 0.9825 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 7.987e-05/0.2807, allocations: 109.8 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.2807, allocations: 0 / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.281, allocations: 85.17 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.281, allocations: 0 / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.281, allocations: 3.938 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.281, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.2812, allocations: 161.6 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2812, allocations: 0 / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.94e-05/0.2813, allocations: 7.984 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2813, allocations: 4 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.2813, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2813, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2813, allocations: 4.031 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/0.2816, allocations: 167.5 kB / 1.224 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.846e-05/0.2816, allocations: 88.98 kB / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.2816, allocations: 0 / 1.224 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.689e-05/0.2817, allocations: 4 kB / 1.224 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2818, allocations: 8.016 kB / 1.224 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2818, allocations: 3.938 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.348e-05/0.2818, allocations: 87.28 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.2e-06/0.2818, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002275/0.2821, allocations: 15.88 kB / 1.224 GB, free: 9.609 MB / 0.9825 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.0005732/0.2827, allocations: 0.7012 MB / 1.225 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002071/0.2829, allocations: 39.97 kB / 1.225 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2829, allocations: 4 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.283, allocations: 23.91 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2832, allocations: 6.031 kB / 1.225 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.2836, allocations: 151 kB / 1.225 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.2839, allocations: 0.6729 MB / 1.226 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.284, allocations: 8.172 kB / 1.226 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.895e-05/0.284, allocations: 11.44 kB / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.284, allocations: 0 / 1.226 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02056/0.3046, allocations: 1.42 MB / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.883, allocations: 11.88 kB / 1.227 GB, free: 6.543 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches