Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Examples.Polynomial,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_10_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.001231/0.001231, 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.001121/0.001121, allocations: 193.9 kB / 16.53 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.464/2.464, allocations: 437.1 MB / 0.7104 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.91 kB / 0.8693 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5672/0.5686, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002598/0.5712, allocations: 1.427 MB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002937/0.5716, allocations: 88.64 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.28e-05/0.5716, allocations: 4 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.569e-05/0.5717, allocations: 11.86 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.417e-05/0.5717, allocations: 7.938 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.572, allocations: 15.98 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.6e-05/0.572, allocations: 23.92 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.5721, allocations: 8 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.406e-05/0.5722, allocations: 3.938 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.354e-05/0.5722, allocations: 11.98 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.5722, allocations: 11.98 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.5724, allocations: 15.98 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.5724, allocations: 15.92 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.5725, allocations: 7.938 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.5726, allocations: 35.89 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.5727, allocations: 3.938 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5727, allocations: 0 / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.5727, allocations: 0 / 1.019 GB, free: 0.7422 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004053/0.5731, allocations: 341.7 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.5731, allocations: 12.03 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.937e-05/0.5732, allocations: 34.75 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/0.5732, allocations: 8.844 kB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.5733, allocations: 168.3 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.5733, allocations: 4.375 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.5733, allocations: 384 / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.5735, allocations: 54.23 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5735, allocations: 3.938 kB / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.5735, allocations: 0 / 1.02 GB, free: 28 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.5735, allocations: 4 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.5738, allocations: 39.97 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.5742, allocations: 256.9 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.5743, allocations: 46.55 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.988e-05/0.5744, allocations: 24.84 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.5745, allocations: 4 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.5745, allocations: 30.56 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.5745, allocations: 0 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0004051/0.5749, allocations: 93.48 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.575, allocations: 55.53 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.5751, allocations: 105.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.5751, allocations: 25.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.498e-05/0.5751, allocations: 84.14 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.5752, allocations: 11.89 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-05/0.5752, allocations: 13.72 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5753, allocations: 310.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.83e-05/0.5754, allocations: 19.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.5755, allocations: 27.91 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.5757, allocations: 44.77 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5757, allocations: 3.938 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002102/0.5759, allocations: 65.72 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.576, allocations: 8.031 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.576, allocations: 3.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.576, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.475e-05/0.5761, allocations: 7.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.5761, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.5762, allocations: 8.234 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.5762, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 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 9.568e-05/0.5763, allocations: 118.4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.5763, allocations: 11.91 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002608/0.5766, allocations: 81.12 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.5766, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5766, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.5766, allocations: 3.984 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.5768, allocations: 161.6 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5768, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.5769, allocations: 7.984 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.5769, allocations: 8.016 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.5769, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.5769, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.5769, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.5772, allocations: 167.4 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.5773, allocations: 81.11 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.5773, allocations: 4.031 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-05/0.5774, allocations: 7.984 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.5774, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.5774, allocations: 0 / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.5775, allocations: 91.27 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5775, allocations: 0 / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002429/0.5777, allocations: 8 kB / 1.022 GB, free: 13.78 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 (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.0006302/0.5784, allocations: 0.7096 MB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.5786, allocations: 39.91 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5786, allocations: 96 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.09e-05/0.5787, allocations: 31.97 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.5791, allocations: 5.188 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005217/0.5796, allocations: 139.2 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.5799, allocations: 0.6845 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.597e-05/0.58, allocations: 64 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/0.58, allocations: 23.42 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.58, allocations: 0 / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.5973, allocations: 1.387 MB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.959, allocations: 7.5 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches