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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001162/0.001162, allocations: 108 kB / 15.6 MB, free: 132 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.00131/0.00131, allocations: 196.7 kB / 16.54 MB, free: 6.672 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.418/2.418, allocations: 437.1 MB / 0.7104 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 67.89 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.524, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001846/0.5259, allocations: 0.5765 MB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002077/0.5261, allocations: 35.81 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.09e-05/0.5261, allocations: 0 / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.5262, allocations: 3.938 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.628e-06/0.5262, allocations: 4 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002369/0.5264, allocations: 12 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.452e-05/0.5265, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.5265, allocations: 7.984 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.606e-05/0.5266, allocations: 3.984 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.5266, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.5266, allocations: 0 / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-05/0.5267, allocations: 15.98 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.007e-06/0.5267, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.5267, allocations: 0 / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.891e-05/0.5268, allocations: 27.92 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.5269, allocations: 3.938 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5269, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.5269, allocations: 0 / 1.018 GB, free: 1.793 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.0003043/0.5272, allocations: 315.5 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.5272, allocations: 12.03 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.137e-05/0.5273, allocations: 34.75 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.5273, allocations: 0.9375 kB / 1.018 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.333e-05/0.5274, allocations: 164.4 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-06/0.5274, allocations: 4.375 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.5274, allocations: 384 / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.631e-05/0.5275, allocations: 30.27 kB / 1.019 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.5275, allocations: 3.938 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.5275, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.5275, allocations: 0 / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.988e-05/0.5275, allocations: 3.938 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001243/0.5277, allocations: 149.7 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 3.533e-05/0.5277, allocations: 22.58 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.723e-05/0.5277, allocations: 8.953 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.5278, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.5278, allocations: 30.56 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 6.42e-07/0.5278, allocations: 0 / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.5279, allocations: 45.48 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.528, allocations: 51.41 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.095e-05/0.528, allocations: 93.98 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.528, allocations: 29.7 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 2.353e-05/0.5281, allocations: 84.12 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.5281, allocations: 0 / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.953e-05/0.5281, allocations: 13.72 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.5282, allocations: 310.8 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.5282, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/0.5282, allocations: 0 / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.5283, allocations: 12.92 kB / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5283, allocations: 0 / 1.019 GB, free: 176 kB / 0.7637 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.396e-05/0.5283, allocations: 49.61 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5284, allocations: 4 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5284, allocations: 3.938 kB / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5284, allocations: 0 / 1.02 GB, free: 112 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.5285, allocations: 4 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.5285, allocations: 3.938 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.472e-05/0.5285, allocations: 0 / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.5285, allocations: 3.984 kB / 1.02 GB, free: 100 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 8.318e-05/0.5286, allocations: 117.4 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.5286, allocations: 3.938 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.5287, allocations: 52.69 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.5287, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.5287, allocations: 4 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.5288, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.388e-05/0.5289, allocations: 153.7 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.5289, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.023e-05/0.5289, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5289, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.5289, allocations: 3.938 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5289, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5289, allocations: 0 / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.454e-05/0.529, allocations: 61.12 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/0.529, allocations: 81.14 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5291, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.304e-05/0.5291, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.5291, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.5291, allocations: 4 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.539e-05/0.5291, allocations: 75.28 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5292, allocations: 0 / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002023/0.5294, allocations: 4 kB / 1.02 GB, free: 15.44 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.0003335/0.5297, allocations: 0.6068 MB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.761e-05/0.5298, allocations: 7.984 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.5298, allocations: 0 / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/0.5298, allocations: 7.938 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.5299, allocations: 4 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.5302, allocations: 113.2 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.5304, allocations: 0.6729 MB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.414e-05/0.5305, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.71e-05/0.5305, allocations: 11.44 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5305, allocations: 3.938 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.5451, allocations: 0.9911 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.871/8.416, allocations: 9.828 kB / 1.022 GB, free: 12.99 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