Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.782/2.782, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Polynomial,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8784/0.8804, allocations: 168.7 MB / 1.269 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00294/0.8834, allocations: 1.445 MB / 1.27 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0003392/0.8837, allocations: 99.78 kB / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.663e-05/0.8837, allocations: 0 / 1.27 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.137e-05/0.8838, allocations: 3.938 kB / 1.27 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.294e-05/0.8839, allocations: 7.938 kB / 1.27 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.8841, allocations: 11.98 kB / 1.27 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.422e-05/0.8842, allocations: 27.92 kB / 1.27 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.809e-05/0.8843, allocations: 3.984 kB / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.942e-05/0.8843, allocations: 15.92 kB / 1.27 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.35e-05/0.8844, allocations: 15.98 kB / 1.27 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.8844, allocations: 0 / 1.27 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.773e-05/0.8845, allocations: 19.98 kB / 1.27 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.8845, allocations: 7.938 kB / 1.27 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.8846, allocations: 15.92 kB / 1.27 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.8847, allocations: 37.66 kB / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8847, allocations: 0 / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8847, allocations: 0 / 1.27 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.8847, allocations: 3.984 kB / 1.27 GB, free: 3.461 MB / 0.9669 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.0005709/0.8853, allocations: 355.3 kB / 1.271 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.8853, allocations: 8.031 kB / 1.271 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.192e-05/0.8854, allocations: 34.75 kB / 1.271 GB, free: 3.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.8854, allocations: 4.938 kB / 1.271 GB, free: 3.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.8856, allocations: 164.3 kB / 1.271 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.8856, allocations: 384 / 1.271 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.8856, allocations: 4.375 kB / 1.271 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/0.8858, allocations: 50.23 kB / 1.271 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.8858, allocations: 3.938 kB / 1.271 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.8858, allocations: 4 kB / 1.271 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.8858, allocations: 3.938 kB / 1.271 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.886, allocations: 35.95 kB / 1.271 GB, free: 2.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.8864, allocations: 253 kB / 1.271 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.8865, allocations: 46.5 kB / 1.271 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.8866, allocations: 24.89 kB / 1.271 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.8866, allocations: 0 / 1.271 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.878e-05/0.8867, allocations: 42.5 kB / 1.271 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.8867, allocations: 0 / 1.271 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003668/0.8871, allocations: 81.73 kB / 1.271 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.8871, allocations: 59.41 kB / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.725e-05/0.8872, allocations: 105.8 kB / 1.272 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.8872, allocations: 29.64 kB / 1.272 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.8873, allocations: 80.14 kB / 1.272 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.202e-05/0.8873, allocations: 3.953 kB / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.8873, allocations: 17.72 kB / 1.272 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.8875, allocations: 314.8 kB / 1.272 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.455e-05/0.8876, allocations: 24.02 kB / 1.272 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.8876, allocations: 15.98 kB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.8878, allocations: 48.75 kB / 1.272 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.8878, allocations: 3.938 kB / 1.272 GB, free: 1.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001971/0.888, allocations: 81.61 kB / 1.272 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.888, allocations: 4 kB / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.888, allocations: 0 / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.888, allocations: 0 / 1.272 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.358e-05/0.8881, allocations: 11.98 kB / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.8881, allocations: 0 / 1.272 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.404e-05/0.8882, allocations: 4 kB / 1.272 GB, free: 1.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.8882, allocations: 0 / 1.272 GB, free: 1.344 MB / 0.9669 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.809e-05/0.8883, allocations: 123.3 kB / 1.272 GB, free: 1.215 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.8883, allocations: 4 kB / 1.272 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.8885, allocations: 73.38 kB / 1.272 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.8885, allocations: 4 kB / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.8886, allocations: 0 / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8886, allocations: 0 / 1.272 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/0.8888, allocations: 169.6 kB / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.8888, allocations: 0 / 1.273 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.8888, allocations: 16.02 kB / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.8888, allocations: 0 / 1.273 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.8888, allocations: 3.984 kB / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.8888, allocations: 0 / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.8888, allocations: 0 / 1.273 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.8891, allocations: 171.4 kB / 1.273 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.8891, allocations: 89.03 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.8891, allocations: 0 / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.377e-05/0.8892, allocations: 7.984 kB / 1.273 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.8893, allocations: 4 kB / 1.273 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.8893, allocations: 0 / 1.273 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.674e-05/0.8893, allocations: 87.27 kB / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.8893, allocations: 0 / 1.273 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000231/0.8896, allocations: 8 kB / 1.273 GB, free: 0.4922 MB / 0.9669 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.0006739/0.8902, allocations: 0.7046 MB / 1.274 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002229/0.8905, allocations: 43.89 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.8905, allocations: 4.094 kB / 1.274 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.137e-05/0.8905, allocations: 19.98 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.8908, allocations: 2.953 kB / 1.274 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.8914, allocations: 155 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003392/0.8917, allocations: 0.6768 MB / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.8917, allocations: 0 / 1.275 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.251e-05/0.8917, allocations: 15.5 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8917, allocations: 3.938 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02444/0.9162, allocations: 1.435 MB / 1.276 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.059/8.975, allocations: 12.09 kB / 1.276 GB, free: 13.41 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Polynomial.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.13333404995501]