Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_latest_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.001264/0.001264, allocations: 108 kB / 15.61 MB, free: 152 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.00134/0.00134, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.408/1.408, 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 11.0.1-master/package.mo): time 2.788/2.788, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.02 kB / 0.9083 GB, free: 34.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2784, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00266/0.2811, allocations: 1.43 MB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002878/0.2814, allocations: 95.73 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.2814, allocations: 0 / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.2815, allocations: 7.922 kB / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.525e-05/0.2815, allocations: 0 / 1.065 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002288/0.2818, allocations: 23.92 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.323e-05/0.2819, allocations: 19.92 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.282, allocations: 15.98 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.282, allocations: 7.938 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.852e-05/0.282, allocations: 11.98 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.2821, allocations: 3.938 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.152e-05/0.2822, allocations: 19.98 kB / 1.065 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.845e-05/0.2822, allocations: 7.984 kB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.982e-05/0.2822, allocations: 11.94 kB / 1.065 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.2824, allocations: 39.88 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2824, allocations: 3.938 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2824, allocations: 0 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2824, allocations: 4 kB / 1.065 GB, free: 12.84 MB / 0.8262 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.0004152/0.2828, allocations: 347.7 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2829, allocations: 8.031 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.2829, allocations: 30.75 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.2829, allocations: 4.938 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.283, allocations: 176.2 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2831, allocations: 384 / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.596e-06/0.2831, allocations: 4.375 kB / 1.066 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.2833, allocations: 54.23 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2833, allocations: 7.922 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.2833, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.2833, allocations: 0 / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.2835, allocations: 31.97 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003053/0.2838, allocations: 253 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.2839, allocations: 54.42 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.227e-05/0.284, allocations: 24.91 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.2841, allocations: 4 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.2841, allocations: 30.56 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.2841, allocations: 0 / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.2845, allocations: 93.58 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.2845, allocations: 51.41 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.916e-05/0.2846, allocations: 105.8 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.2846, allocations: 25.7 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.2847, allocations: 84.14 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2847, allocations: 15.83 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.2847, allocations: 13.84 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.2848, allocations: 314.8 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.146e-05/0.2849, allocations: 19.92 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.683e-05/0.285, allocations: 23.97 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.2852, allocations: 36.83 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2852, allocations: 8 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002014/0.2854, allocations: 73.59 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2854, allocations: 4 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2854, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.2854, allocations: 0 / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.2855, allocations: 11.98 kB / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2855, allocations: 0 / 1.067 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.2856, allocations: 15.92 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.96e-06/0.2856, allocations: 0 / 1.067 GB, free: 10.72 MB / 0.8262 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.625e-05/0.2857, allocations: 117.8 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.417e-05/0.2857, allocations: 3.938 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.2859, allocations: 73.19 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.2859, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.286, allocations: 4 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.286, allocations: 11.95 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001438/0.2861, allocations: 157.6 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2861, allocations: 256 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.2862, allocations: 15.98 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2862, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.2862, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2862, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2862, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.2865, allocations: 171.5 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.2865, allocations: 81.02 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2865, allocations: 4 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.2866, allocations: 3.984 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.2866, allocations: 4 kB / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.277e-06/0.2866, allocations: 0 / 1.068 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.977e-05/0.2867, allocations: 87.27 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2867, allocations: 4.031 kB / 1.068 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002317/0.2869, allocations: 8 kB / 1.068 GB, free: 9.887 MB / 0.8262 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.0005045/0.2874, allocations: 0.7051 MB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.2877, allocations: 47.94 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2877, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.949e-05/0.2878, allocations: 23.91 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.288, allocations: 9.719 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.2884, allocations: 148.3 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.2887, allocations: 0.6768 MB / 1.069 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.415e-05/0.2887, allocations: 4 kB / 1.069 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.935e-05/0.2887, allocations: 15.42 kB / 1.069 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2887, allocations: 0 / 1.069 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.3059, allocations: 1.405 MB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.124/7.43, allocations: 8 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches