Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_11_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.007426/0.007426, allocations: 96.95 kB / 15.73 MB, free: 6.484 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.002082/0.002082, allocations: 192.4 kB / 16.67 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.761/2.761, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.003184/0.003184, allocations: 72.11 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3008, allocations: 159.1 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00165/0.3025, allocations: 0.5836 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002157/0.3028, allocations: 43.81 kB / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.41e-05/0.3028, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.898e-06/0.3028, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.939e-06/0.3028, allocations: 0 / 1.221 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.3031, allocations: 11.94 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.063e-05/0.3031, allocations: 3.984 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.3032, allocations: 4 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.142e-05/0.3032, allocations: 4 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.324e-05/0.3032, allocations: 4 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.3032, allocations: 0 / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.556e-05/0.3033, allocations: 15.98 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.084e-06/0.3033, allocations: 0 / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.69e-05/0.3034, allocations: 3.984 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.707e-05/0.3034, allocations: 15.97 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3035, allocations: 0 / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3035, allocations: 0 / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.3035, allocations: 0 / 1.221 GB, free: 13.57 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003228/0.3038, allocations: 325.5 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3038, allocations: 12.03 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.3039, allocations: 34.69 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.71e-05/0.3039, allocations: 4.875 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.304, allocations: 168.3 kB / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.3041, allocations: 384 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-06/0.3041, allocations: 384 / 1.221 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.122e-05/0.3042, allocations: 30.27 kB / 1.221 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3042, allocations: 7.922 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.52e-06/0.3042, allocations: 0 / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.3042, allocations: 4 kB / 1.221 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.3042, allocations: 4 kB / 1.221 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.3044, allocations: 149.7 kB / 1.222 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.153e-05/0.3044, allocations: 18.52 kB / 1.222 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.3044, allocations: 8.953 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.3045, allocations: 0 / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.3045, allocations: 34.56 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3045, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001253/0.3046, allocations: 45.62 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.3047, allocations: 51.41 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.388e-05/0.3047, allocations: 89.86 kB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.3048, allocations: 25.7 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/0.3048, allocations: 81.98 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.3048, allocations: 0 / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/0.3049, allocations: 17.78 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.305, allocations: 318.8 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.305, allocations: 0 / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-06/0.305, allocations: 4 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.705e-05/0.3051, allocations: 4.859 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.3051, allocations: 0 / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.308e-05/0.3051, allocations: 37.69 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3052, allocations: 5.719 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.3052, allocations: 4.031 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.3052, allocations: 4 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.656e-05/0.3052, allocations: 4 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.3052, allocations: 3.938 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.3053, allocations: 0 / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3053, allocations: 0 / 1.222 GB, free: 11.88 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 (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.305e-05/0.3054, allocations: 113.8 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.3054, allocations: 7.922 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.3055, allocations: 40.77 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3055, allocations: 4 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.3055, allocations: 4 kB / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.3055, allocations: 0 / 1.222 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001105/0.3056, allocations: 149.6 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3056, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/0.3056, allocations: 4 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3057, allocations: 0 / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.3057, allocations: 7.938 kB / 1.223 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3057, allocations: 4.031 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3057, allocations: 0 / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.024e-05/0.3058, allocations: 61.06 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.3058, allocations: 77.11 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.3058, allocations: 3.938 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.097e-05/0.3058, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.252e-05/0.3059, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.3059, allocations: 8.031 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.3059, allocations: 79.28 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3059, allocations: 0 / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001893/0.3061, allocations: 4 kB / 1.223 GB, free: 11.22 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 (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.000432/0.3066, allocations: 0.6051 MB / 1.223 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 5.861e-05/0.3066, allocations: 8.031 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.3066, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/0.3066, allocations: 4 kB / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000118/0.3068, allocations: 0 / 1.223 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.307, allocations: 117.2 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3074, allocations: 0.6729 MB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.448e-05/0.3074, allocations: 8.125 kB / 1.224 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.189e-05/0.3074, allocations: 7.438 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of SimCode: time 2.124e-06/0.3074, allocations: 0 / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.3279, allocations: 1.025 MB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.408/7.736, allocations: 13.41 kB / 1.225 GB, free: 8.758 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches