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.007766/0.007766, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001776/0.001776, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 63.91 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.859/0.8603, allocations: 157.4 MB / 1.207 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.002301/0.8627, allocations: 0.5854 MB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0002658/0.863, allocations: 37.84 kB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.898e-05/0.863, allocations: 0 / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.863, allocations: 0 / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 1.047e-05/0.8631, allocations: 0 / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.8634, allocations: 15.94 kB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.416e-05/0.8635, allocations: 7.984 kB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.058e-05/0.8635, allocations: 4 kB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.8636, allocations: 3.938 kB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.8636, allocations: 0 / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.8636, allocations: 0 / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.8637, allocations: 15.98 kB / 1.208 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.8638, allocations: 3.984 kB / 1.208 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.8638, allocations: 0 / 1.208 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.983e-05/0.8639, allocations: 23.91 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.8639, allocations: 4 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8639, allocations: 0 / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.8639, allocations: 0 / 1.208 GB, free: 12.84 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.0003368/0.8643, allocations: 311.6 kB / 1.208 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.8643, allocations: 12.03 kB / 1.208 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.8644, allocations: 34.73 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.59e-05/0.8644, allocations: 0.9375 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.8645, allocations: 164.4 kB / 1.208 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.8645, allocations: 384 / 1.208 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.8646, allocations: 384 / 1.208 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.8647, allocations: 38.27 kB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.815e-06/0.8647, allocations: 3.938 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.8647, allocations: 0 / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.8647, allocations: 0 / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.8647, allocations: 11.88 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.8649, allocations: 145.7 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.692e-05/0.865, allocations: 18.52 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.865, allocations: 12.95 kB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.865, allocations: 4 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.8651, allocations: 30.56 kB / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8651, allocations: 0 / 1.209 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001722/0.8653, allocations: 41.58 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.8653, allocations: 55.39 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.277e-05/0.8654, allocations: 89.86 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.8654, allocations: 25.7 kB / 1.209 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.8654, allocations: 84.27 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.8655, allocations: 0 / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.8655, allocations: 17.72 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.8656, allocations: 310.8 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.8656, allocations: 0 / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.327e-05/0.8657, allocations: 4 kB / 1.209 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.8657, allocations: 4.859 kB / 1.209 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8657, allocations: 4.062 kB / 1.209 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.438e-05/0.8658, allocations: 45.53 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.8658, allocations: 4 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8658, allocations: 3.938 kB / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.8658, allocations: 0 / 1.209 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.8659, allocations: 8 kB / 1.209 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8659, allocations: 0 / 1.209 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.455e-05/0.8659, allocations: 0 / 1.209 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.866, allocations: 8 kB / 1.209 GB, free: 11.14 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 8.361e-05/0.866, allocations: 109.9 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.8661, allocations: 3.984 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.8662, allocations: 44.7 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8662, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.8662, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8662, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.8663, allocations: 149.7 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.8663, allocations: 4.031 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.227e-05/0.8664, allocations: 4 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.8664, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.8664, allocations: 3.938 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.8664, allocations: 7.922 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8664, allocations: 0 / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.763e-05/0.8665, allocations: 61.12 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.8665, allocations: 77.11 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.8666, allocations: 11.91 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.147e-05/0.8666, allocations: 0 / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.8666, allocations: 0 / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.8666, allocations: 4 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.8666, allocations: 75.28 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8666, allocations: 3.938 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002213/0.8669, allocations: 4 kB / 1.21 GB, free: 10.48 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.0004506/0.8673, allocations: 0.6029 MB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.8674, allocations: 7.984 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8674, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.8675, allocations: 7.938 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.8676, allocations: 0 / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.868, allocations: 116.1 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.8683, allocations: 0.6729 MB / 1.211 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.8683, allocations: 4 kB / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.32e-05/0.8683, allocations: 7.438 kB / 1.211 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.8683, allocations: 0 / 1.211 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.8878, allocations: 1.023 MB / 1.212 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.569/8.457, allocations: 6.094 kB / 1.212 GB, free: 8.039 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