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.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001455/0.001455, allocations: 193.1 kB / 16.25 MB, free: 6.633 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 / 239.9 MB, free: 4.5 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 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6741/0.6753, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003055/0.6784, allocations: 1.496 MB / 1.018 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003513/0.6788, allocations: 96.56 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.964e-05/0.6789, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.958e-05/0.679, allocations: 0 / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.679, allocations: 7.938 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.6793, allocations: 11.98 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.6793, allocations: 23.94 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.09e-05/0.6794, allocations: 11.98 kB / 1.019 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.982e-05/0.6795, allocations: 7.938 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.063e-05/0.6795, allocations: 15.97 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.6795, allocations: 4 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.054e-05/0.6796, allocations: 15.98 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.6797, allocations: 15.92 kB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.6797, allocations: 7.938 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.6798, allocations: 39.83 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6799, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6799, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.6799, allocations: 0 / 1.019 GB, free: 0.9062 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.0004164/0.6803, allocations: 345.7 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6803, allocations: 8.031 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.337e-05/0.6804, allocations: 38.75 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.6804, allocations: 4.844 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.6805, allocations: 172.2 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.6805, allocations: 4.375 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.6806, allocations: 4.359 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.6807, allocations: 46.25 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.6808, allocations: 11.92 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.6808, allocations: 0 / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.6808, allocations: 4 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000155/0.681, allocations: 31.97 kB / 1.019 GB, free: 152 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.6813, allocations: 256.9 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.6814, allocations: 50.48 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.6815, allocations: 16.91 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.6816, allocations: 8 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.6816, allocations: 30.56 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6816, allocations: 0 / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.6819, allocations: 97.48 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.682, allocations: 51.41 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.577e-05/0.6821, allocations: 105.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.6821, allocations: 25.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.6821, allocations: 84.14 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.6822, allocations: 7.906 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.6822, allocations: 17.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.6823, allocations: 315 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.6824, allocations: 19.98 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.846e-05/0.6825, allocations: 15.97 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.6826, allocations: 44.83 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6826, allocations: 7.875 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.6828, allocations: 73.66 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6828, allocations: 4 kB / 1.02 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6828, allocations: 7.984 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.6828, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.6829, allocations: 7.984 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6829, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.683, allocations: 7.984 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.683, allocations: 0 / 1.02 GB, free: 14.79 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 6.724e-05/0.6831, allocations: 126.3 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.6831, allocations: 3.906 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.6833, allocations: 81.38 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.6834, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.6834, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.6834, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001451/0.6835, allocations: 169.6 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.6835, allocations: 4.031 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.6836, allocations: 7.984 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6836, allocations: 3.984 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.6836, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6836, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6836, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.6838, allocations: 171.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.055e-05/0.6839, allocations: 77.11 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.284e-05/0.6839, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.684, allocations: 7.984 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.684, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.684, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.6841, allocations: 95.2 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6841, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002156/0.6843, allocations: 8 kB / 1.021 GB, free: 13.94 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.0004948/0.6848, allocations: 0.7085 MB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001996/0.685, allocations: 47.98 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.685, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.277e-05/0.6851, allocations: 23.92 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.6854, allocations: 7.922 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.6858, allocations: 143.2 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.686, allocations: 0.6808 MB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.686, allocations: 4 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.033e-05/0.686, allocations: 7.438 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.6861, allocations: 0 / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.042/1.728, allocations: 1.283 MB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/1.729, allocations: 187 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.847/3.575, allocations: 3.938 kB / 1.024 GB, free: 10.79 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