Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="Buildings_10_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.001296/0.001296, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001357/0.001357, allocations: 190.8 kB / 16.14 MB, free: 6.645 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.313/1.313, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437 MB / 0.7099 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5433/0.5446, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001907/0.5466, allocations: 0.6475 MB / 1.017 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002602/0.5469, allocations: 43.81 kB / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.081e-05/0.5469, allocations: 0 / 1.017 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.563e-05/0.5469, allocations: 3.938 kB / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.5469, allocations: 0 / 1.017 GB, free: 2.129 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.5472, allocations: 12 kB / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.099e-05/0.5472, allocations: 0 / 1.017 GB, free: 2.117 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.666e-05/0.5472, allocations: 11.91 kB / 1.017 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.984e-05/0.5473, allocations: 7.984 kB / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.375e-05/0.5473, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.5473, allocations: 0 / 1.017 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.002e-05/0.5474, allocations: 15.98 kB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.5474, allocations: 4 kB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.5475, allocations: 0 / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.51e-05/0.5476, allocations: 19.98 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5476, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.71e-07/0.5476, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.5476, allocations: 0 / 1.017 GB, free: 2.059 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002757/0.5479, allocations: 317.8 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.5479, allocations: 8.031 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.87e-05/0.5479, allocations: 34.75 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.02e-05/0.548, allocations: 4.938 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.476e-05/0.548, allocations: 164.4 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.151e-05/0.5481, allocations: 4.312 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-06/0.5481, allocations: 4.312 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.5482, allocations: 34.27 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5482, allocations: 3.938 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.5482, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5482, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.175e-05/0.5482, allocations: 0 / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.5484, allocations: 153.7 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.5484, allocations: 14.58 kB / 1.018 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.5484, allocations: 12.8 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.5485, allocations: 4.094 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.5485, allocations: 30.56 kB / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.5485, allocations: 0 / 1.018 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001182/0.5486, allocations: 33.64 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.5487, allocations: 59.53 kB / 1.018 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.705e-05/0.5487, allocations: 89.86 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.5487, allocations: 25.7 kB / 1.018 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.432e-05/0.5488, allocations: 84.12 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.5488, allocations: 0 / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.654e-05/0.5488, allocations: 17.72 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.811e-05/0.5489, allocations: 314.8 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.173e-05/0.549, allocations: 3.938 kB / 1.019 GB, free: 456 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.532e-06/0.549, allocations: 4 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.556e-05/0.549, allocations: 8.859 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.549, allocations: 0 / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.156e-05/0.5491, allocations: 41.69 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.5491, allocations: 4 kB / 1.019 GB, free: 388 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5491, allocations: 3.938 kB / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.5491, allocations: 0 / 1.019 GB, free: 384 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.206e-05/0.5492, allocations: 4 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.5492, allocations: 96 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/0.5492, allocations: 4 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.5492, allocations: 0 / 1.019 GB, free: 376 kB / 0.7637 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.841e-05/0.5493, allocations: 110.3 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.744e-06/0.5493, allocations: 4 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/0.5494, allocations: 40.75 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.5494, allocations: 7.969 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.5494, allocations: 0 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5494, allocations: 4 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.5495, allocations: 157.7 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5496, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.5496, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.5496, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.5496, allocations: 7.938 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5496, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5496, allocations: 0 / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.803e-05/0.5497, allocations: 65.06 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.5497, allocations: 81.11 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.5497, allocations: 3.938 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.5498, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.5498, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-06/0.5498, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.509e-05/0.5498, allocations: 79.28 kB / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5498, allocations: 0 / 1.019 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002275/0.5501, allocations: 8.031 kB / 1.019 GB, free: 15.71 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 (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.0003798/0.5504, allocations: 0.6068 MB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.062e-05/0.5505, allocations: 7.984 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5505, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.566e-06/0.5505, allocations: 4.094 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.5507, allocations: 7.938 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.5509, allocations: 109.4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/0.5512, allocations: 0.6731 MB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.479e-05/0.5512, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.5512, allocations: 19.44 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5512, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01022/0.5615, allocations: 0.8956 MB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002153/0.5617, allocations: 198.2 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.715/2.277, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches