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.007674/0.007674, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001722/0.001722, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.843/2.843, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 63.91 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7969/0.7984, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001738/0.8002, allocations: 0.5947 MB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002254/0.8004, allocations: 33.84 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.367e-05/0.8005, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.8005, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.63e-06/0.8005, allocations: 0 / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.8008, allocations: 15.94 kB / 1.208 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.392e-05/0.8008, allocations: 3.984 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.221e-05/0.8009, allocations: 3.938 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.8009, allocations: 3.984 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.801, allocations: 8 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.801, allocations: 0 / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-05/0.8011, allocations: 15.98 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.8011, allocations: 0 / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 1.96e-05/0.8011, allocations: 4 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.929e-05/0.8012, allocations: 11.98 kB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8012, allocations: 0 / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8012, allocations: 0 / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8012, allocations: 0 / 1.208 GB, free: 12.92 MB / 0.9356 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.0003051/0.8016, allocations: 319.6 kB / 1.208 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.8016, allocations: 12.03 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.214e-05/0.8016, allocations: 34.69 kB / 1.208 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.8017, allocations: 4.938 kB / 1.208 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.8018, allocations: 164.4 kB / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.8018, allocations: 384 / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.8018, allocations: 384 / 1.208 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.509e-05/0.8019, allocations: 26.27 kB / 1.209 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8019, allocations: 3.938 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.8019, allocations: 4 kB / 1.209 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.8019, allocations: 3.938 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.985e-05/0.802, allocations: 4 kB / 1.209 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.8021, allocations: 149.7 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 3.731e-05/0.8022, allocations: 22.55 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.596e-05/0.8022, allocations: 4.859 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.8022, allocations: 8 kB / 1.209 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.8023, allocations: 30.56 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.8023, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.8024, allocations: 37.58 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.8025, allocations: 55.41 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.261e-05/0.8025, allocations: 97.84 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.8025, allocations: 25.7 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.356e-05/0.8025, allocations: 80.14 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.8026, allocations: 0 / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.8026, allocations: 9.719 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.8027, allocations: 319 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.808e-06/0.8027, allocations: 0 / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.622e-06/0.8027, allocations: 0 / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.872e-05/0.8028, allocations: 12.86 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.8028, allocations: 0 / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.903e-05/0.8029, allocations: 41.53 kB / 1.209 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8029, allocations: 8 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.8029, allocations: 3.938 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.8029, allocations: 4.094 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.581e-05/0.803, allocations: 4 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.803, allocations: 4 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.309e-05/0.803, allocations: 0 / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.232e-05/0.803, allocations: 0 / 1.209 GB, free: 11.21 MB / 0.9356 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.782e-05/0.8031, allocations: 105.8 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.8031, allocations: 0 / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.8032, allocations: 52.75 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8032, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/0.8032, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.8032, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.613e-05/0.8033, allocations: 153.7 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.8034, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.8034, allocations: 7.875 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.8034, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.8034, allocations: 7.938 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.8034, allocations: 3.984 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8034, allocations: 4.031 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.666e-05/0.8035, allocations: 61.11 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.8035, allocations: 81.11 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.8036, allocations: 3.938 kB / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.192e-05/0.8036, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.251e-05/0.8036, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.8036, allocations: 0 / 1.21 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.885e-05/0.8036, allocations: 83.25 kB / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8036, allocations: 0 / 1.21 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002003/0.8039, allocations: 8 kB / 1.21 GB, free: 10.55 MB / 0.9356 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.0003984/0.8043, allocations: 0.6029 MB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.194e-05/0.8043, allocations: 16.02 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8043, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.8044, allocations: 0 / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/0.8045, allocations: 4 kB / 1.211 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.8048, allocations: 106.5 kB / 1.211 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.8051, allocations: 0.6768 MB / 1.211 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.634e-05/0.8051, allocations: 4.125 kB / 1.211 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258e-05/0.8051, allocations: 7.438 kB / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.8051, allocations: 0 / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01921/0.8244, allocations: 1.019 MB / 1.212 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.465/8.29, allocations: 3.938 kB / 1.212 GB, free: 8.113 MB / 0.9356 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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