Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_9_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.001743/0.001743, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001817/0.001817, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.245/1.245, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.306/2.306, allocations: 390.2 MB / 0.6643 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001293, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6768/0.6781, allocations: 140.4 MB / 0.949 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002667/0.6809, allocations: 1.499 MB / 0.9505 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.6812, allocations: 92.02 kB / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.6812, allocations: 0 / 0.9506 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.9e-05/0.6813, allocations: 5.312 kB / 0.9506 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.933e-05/0.6813, allocations: 4 kB / 0.9506 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.6815, allocations: 13.48 kB / 0.9506 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.024e-05/0.6816, allocations: 25.55 kB / 0.9506 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.506e-05/0.6817, allocations: 8.109 kB / 0.9507 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.904e-05/0.6817, allocations: 14.67 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.6818, allocations: 4.125 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.6818, allocations: 1.375 kB / 0.9507 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.6819, allocations: 20.17 kB / 0.9507 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.987e-05/0.6819, allocations: 13.3 kB / 0.9507 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.096e-05/0.682, allocations: 6.688 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.6821, allocations: 45.5 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.6821, allocations: 1.375 kB / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 6.31e-07/0.6821, allocations: 0 / 0.9508 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.6821, allocations: 0 / 0.9508 GB, free: 7.738 MB / 0.7169 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.00036/0.6825, allocations: 340.8 kB / 0.9511 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.6825, allocations: 9.625 kB / 0.9511 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.472e-05/0.6825, allocations: 30.75 kB / 0.9511 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.174e-05/0.6826, allocations: 7.594 kB / 0.9511 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.566e-05/0.6827, allocations: 173.7 kB / 0.9513 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-06/0.6827, allocations: 5.75 kB / 0.9513 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.699e-06/0.6827, allocations: 1.75 kB / 0.9513 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.6828, allocations: 54.55 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.6829, allocations: 3.938 kB / 0.9514 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.6829, allocations: 4 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.6829, allocations: 1.375 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.683, allocations: 36.58 kB / 0.9514 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002629/0.6833, allocations: 253.3 kB / 0.9516 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.6834, allocations: 49.55 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.44e-05/0.6835, allocations: 24.66 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.6836, allocations: 1.469 kB / 0.9517 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.6836, allocations: 35.94 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6836, allocations: 0 / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003402/0.684, allocations: 89.52 kB / 0.9518 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.684, allocations: 55.39 kB / 0.9519 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.6841, allocations: 101.9 kB / 0.952 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.715e-06/0.6841, allocations: 31.14 kB / 0.952 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.932e-05/0.6841, allocations: 89.19 kB / 0.9521 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.427e-05/0.6841, allocations: 5.219 kB / 0.9521 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.618e-05/0.6841, allocations: 16.25 kB / 0.9521 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.832e-05/0.6842, allocations: 314.8 kB / 0.9524 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.13e-05/0.6843, allocations: 19.05 kB / 0.9524 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.103e-05/0.6844, allocations: 19.75 kB / 0.9524 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001373/0.6845, allocations: 46.3 kB / 0.9525 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6845, allocations: 3.938 kB / 0.9525 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.6847, allocations: 71.12 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.6847, allocations: 5.062 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.6847, allocations: 0 / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.6848, allocations: 1.406 kB / 0.9526 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.057e-05/0.6848, allocations: 13.58 kB / 0.9526 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.6848, allocations: 3.938 kB / 0.9526 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.6849, allocations: 8.109 kB / 0.9526 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.6849, allocations: 1.312 kB / 0.9526 GB, free: 5.855 MB / 0.7169 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 5.697e-05/0.685, allocations: 111.1 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.685, allocations: 1.531 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.6852, allocations: 78.69 kB / 0.9528 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.6852, allocations: 3.984 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6852, allocations: 1.219 kB / 0.9528 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.6852, allocations: 3.984 kB / 0.9528 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.6854, allocations: 164.2 kB / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.6854, allocations: 0 / 0.9529 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.288e-05/0.6854, allocations: 10.3 kB / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6854, allocations: 1.25 kB / 0.953 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.6855, allocations: 4.25 kB / 0.953 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.6855, allocations: 9.281 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6855, allocations: 3.938 kB / 0.953 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002078/0.6857, allocations: 162.3 kB / 0.9531 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.6857, allocations: 78.58 kB / 0.9532 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.6857, allocations: 3.984 kB / 0.9532 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.6858, allocations: 11.75 kB / 0.9532 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.6859, allocations: 9.078 kB / 0.9532 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.6859, allocations: 1.188 kB / 0.9532 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.058e-05/0.6859, allocations: 80.62 kB / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6859, allocations: 0 / 0.9533 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002196/0.6861, allocations: 12.03 kB / 0.9533 GB, free: 5.105 MB / 0.7169 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.0004103/0.6865, allocations: 0.7145 MB / 0.954 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001858/0.6867, allocations: 35.53 kB / 0.954 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.6867, allocations: 1.344 kB / 0.954 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.6868, allocations: 27.53 kB / 0.9541 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.6871, allocations: 7.781 kB / 0.9541 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000354/0.6875, allocations: 145.9 kB / 0.9542 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.6876, allocations: 0.6789 MB / 0.9549 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.323e-05/0.6876, allocations: 5.422 kB / 0.9549 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.6876, allocations: 12.91 kB / 0.9549 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6877, allocations: 0 / 0.9549 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.516/2.204, allocations: 1.219 MB / 0.9561 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/2.204, allocations: 189.8 kB / 0.9563 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/4.845, allocations: 9.125 kB / 0.9563 GB, free: 2.602 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches