Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_latest_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.001324/0.001324, 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.00142/0.00142, allocations: 194.6 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.769/2.769, allocations: 469.4 MB / 0.742 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 65.12 kB / 0.9083 GB, free: 34.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3548, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002088/0.357, allocations: 0.5865 MB / 1.064 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002796/0.3572, allocations: 39.81 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.3573, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.276e-05/0.3573, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.041e-06/0.3573, allocations: 0 / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.3577, allocations: 16 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.554e-05/0.3577, allocations: 3.984 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.3578, allocations: 4 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.932e-05/0.3578, allocations: 3.984 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.3578, allocations: 0 / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.3579, allocations: 0 / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000108/0.358, allocations: 19.92 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.109e-05/0.358, allocations: 0 / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.358, allocations: 0 / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001052/0.3581, allocations: 15.98 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3581, allocations: 3.984 kB / 1.064 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3581, allocations: 4 kB / 1.064 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3582, allocations: 0 / 1.064 GB, free: 13.82 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003764/0.3585, allocations: 311.6 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3586, allocations: 15.97 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.302e-05/0.3586, allocations: 30.75 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.619e-05/0.3587, allocations: 0.9375 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3588, allocations: 164.4 kB / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3588, allocations: 384 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.3588, allocations: 384 / 1.065 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.3589, allocations: 42.2 kB / 1.065 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3589, allocations: 3.938 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.323e-06/0.359, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.359, allocations: 0 / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.359, allocations: 4 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001765/0.3592, allocations: 145.7 kB / 1.065 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.3592, allocations: 18.58 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.846e-05/0.3593, allocations: 16.95 kB / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.3593, allocations: 0 / 1.065 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.3594, allocations: 34.5 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.3594, allocations: 0 / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.3595, allocations: 37.64 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/0.3596, allocations: 55.39 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.171e-05/0.3596, allocations: 89.86 kB / 1.065 GB, free: 12.67 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.3596, allocations: 29.64 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.3597, allocations: 84.27 kB / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3597, allocations: 0 / 1.065 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.3597, allocations: 17.72 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3598, allocations: 310.8 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.3599, allocations: 0 / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.797e-06/0.3599, allocations: 4 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.745e-05/0.3599, allocations: 8.797 kB / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3599, allocations: 64 / 1.066 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.239e-05/0.36, allocations: 41.69 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.36, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.36, allocations: 3.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.36, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.3601, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.3601, allocations: 0 / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.3601, allocations: 8 kB / 1.066 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.3601, allocations: 3.938 kB / 1.066 GB, free: 12.13 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 (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 6.451e-05/0.3602, allocations: 115.6 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.3602, allocations: 0 / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.3603, allocations: 44.69 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.3603, allocations: 4 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.3603, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3603, allocations: 0 / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.816e-05/0.3604, allocations: 157.6 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3605, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.094e-05/0.3605, allocations: 8.031 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.3605, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3605, allocations: 3.938 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3605, allocations: 0 / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3605, allocations: 0 / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.854e-05/0.3606, allocations: 65.06 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.3606, allocations: 77.11 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3606, allocations: 3.938 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.124e-05/0.3607, allocations: 4.031 kB / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.3607, allocations: 0 / 1.066 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3607, allocations: 4 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.948e-05/0.3607, allocations: 75.28 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.3607, allocations: 0 / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001938/0.3609, allocations: 4 kB / 1.066 GB, free: 11.48 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 (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.0003715/0.3613, allocations: 0.6015 MB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.88e-05/0.3614, allocations: 15.86 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3614, allocations: 0 / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.516e-06/0.3614, allocations: 4 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.3616, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.3619, allocations: 114.8 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.3622, allocations: 0.6806 MB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.3622, allocations: 4 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.403e-05/0.3623, allocations: 7.438 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3623, allocations: 0 / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.3795, allocations: 0.9991 MB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.475, allocations: 17.72 kB / 1.069 GB, free: 9.016 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches