Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001514/0.001514, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3 MB / 190.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.761/2.761, allocations: 476.7 MB / 0.7629 GB, free: 15.11 MB / 0.6075 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 71.88 kB / 1.107 GB, free: 4.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8598/0.8618, allocations: 168.7 MB / 1.272 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.00185/0.8637, allocations: 0.5895 MB / 1.273 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002814/0.864, allocations: 32.3 kB / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.385e-05/0.864, allocations: 0.6875 kB / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.823e-05/0.864, allocations: 0 / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.864, allocations: 0 / 1.273 GB, free: 7.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.8643, allocations: 21.48 kB / 1.273 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.619e-05/0.8643, allocations: 5.875 kB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.8644, allocations: 2.438 kB / 1.273 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.301e-05/0.8644, allocations: 4.625 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.149e-05/0.8644, allocations: 2.047 kB / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.769e-06/0.8644, allocations: 0 / 1.273 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.8645, allocations: 17.72 kB / 1.273 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-06/0.8645, allocations: 0 / 1.273 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.8646, allocations: 0.9062 kB / 1.273 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001109/0.8647, allocations: 20.05 kB / 1.273 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8647, allocations: 4 kB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.8647, allocations: 0.75 kB / 1.273 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.8647, allocations: 0 / 1.273 GB, free: 7.484 MB / 0.9981 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.0002958/0.865, allocations: 318.2 kB / 1.273 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.865, allocations: 9.688 kB / 1.273 GB, free: 7.133 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.865, allocations: 4.938 kB / 1.273 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.767e-05/0.8651, allocations: 166 kB / 1.273 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.8651, allocations: 5.312 kB / 1.273 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.8651, allocations: 1.281 kB / 1.273 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.715e-05/0.8652, allocations: 33.38 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.8652, allocations: 1.219 kB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.8652, allocations: 3.938 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.8652, allocations: 0 / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.156e-05/0.8653, allocations: 2.156 kB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.8654, allocations: 150.1 kB / 1.273 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.98e-05/0.8654, allocations: 24.3 kB / 1.273 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.8654, allocations: 5.984 kB / 1.273 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.8655, allocations: 5.625 kB / 1.273 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.8655, allocations: 32.16 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.8655, allocations: 0 / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001967/0.8657, allocations: 36.98 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.8657, allocations: 52.16 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.055e-05/0.8657, allocations: 90.38 kB / 1.274 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.8657, allocations: 30.39 kB / 1.274 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.544e-05/0.8658, allocations: 88.2 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.8658, allocations: 1.453 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.8658, allocations: 12.45 kB / 1.274 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.434e-05/0.8659, allocations: 312.3 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.8659, allocations: 0.8125 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.017e-06/0.8659, allocations: 2.219 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.714e-05/0.8659, allocations: 8.016 kB / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8659, allocations: 0 / 1.274 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.138e-05/0.866, allocations: 41.34 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.866, allocations: 8.062 kB / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.866, allocations: 0 / 1.274 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.866, allocations: 4.75 kB / 1.274 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.8661, allocations: 6.359 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8661, allocations: 1.547 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.331e-05/0.8661, allocations: 0.8125 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.8661, allocations: 0.8125 kB / 1.274 GB, free: 5.91 MB / 0.9981 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 4.881e-05/0.8662, allocations: 112 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.8662, allocations: 0.5156 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.8663, allocations: 46.52 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8663, allocations: 0 / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.8663, allocations: 0.8125 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.8663, allocations: 4.453 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.965e-05/0.8664, allocations: 145.1 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.8664, allocations: 0 / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.8664, allocations: 6.938 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.8664, allocations: 0.9062 kB / 1.274 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.8664, allocations: 8.625 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.8664, allocations: 0.75 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.8664, allocations: 7.938 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.111e-05/0.8665, allocations: 59.19 kB / 1.274 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.8665, allocations: 81.91 kB / 1.275 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.8665, allocations: 8.719 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.031e-05/0.8665, allocations: 0.8125 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.234e-05/0.8665, allocations: 1.641 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.8665, allocations: 1 kB / 1.275 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.349e-05/0.8665, allocations: 76 kB / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5e-08/0.8665, allocations: 0 / 1.275 GB, free: 5.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002036/0.8667, allocations: 7.547 kB / 1.275 GB, free: 5.293 MB / 0.9981 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.0001742/0.8669, allocations: 104.8 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.867, allocations: 12.45 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.867, allocations: 0 / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-06/0.867, allocations: 6.406 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000137/0.8671, allocations: 3.016 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.8674, allocations: 97.8 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.8675, allocations: 0.6756 MB / 1.276 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.8675, allocations: 6.328 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.879e-05/0.8675, allocations: 9 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of SimCode: time 3.9e-07/0.8675, allocations: 0 / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of Templates: time 0.002463/0.87, allocations: 295.4 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.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: 8.665498811751604]