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.001375/0.001375, allocations: 110 kB / 18.93 MB, free: 2.945 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.001494/0.001494, allocations: 190 kB / 22.23 MB, free: 5.16 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.438/1.438, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7646 GB, free: 9.855 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.00303/0.00303, allocations: 67.89 kB / 1.11 GB, free: 6.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7838/0.7868, allocations: 168.8 MB / 1.274 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0017/0.7885, allocations: 0.5898 MB / 1.275 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002422/0.7888, allocations: 39.81 kB / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.7888, allocations: 0 / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.502e-05/0.7888, allocations: 0 / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-06/0.7888, allocations: 0 / 1.275 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.789, allocations: 15.98 kB / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 3.407e-05/0.7891, allocations: 0 / 1.275 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.7891, allocations: 4 kB / 1.275 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.254e-05/0.7891, allocations: 3.984 kB / 1.275 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.557e-05/0.7892, allocations: 7.984 kB / 1.275 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.486e-06/0.7892, allocations: 3.938 kB / 1.275 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.7893, allocations: 27.91 kB / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.993e-06/0.7893, allocations: 0 / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.7893, allocations: 0 / 1.275 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.675e-05/0.7894, allocations: 11.98 kB / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.7894, allocations: 0 / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7894, allocations: 0 / 1.275 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.7894, allocations: 0 / 1.275 GB, free: 3.516 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003326/0.7897, allocations: 246.1 kB / 1.275 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.7897, allocations: 16.03 kB / 1.275 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.746e-05/0.7898, allocations: 4.938 kB / 1.275 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.7899, allocations: 106.5 kB / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.7899, allocations: 384 / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.7899, allocations: 384 / 1.275 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.476e-05/0.79, allocations: 30.27 kB / 1.275 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.79, allocations: 192 / 1.275 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-06/0.79, allocations: 3.938 kB / 1.275 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.79, allocations: 3.938 kB / 1.275 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.507e-05/0.79, allocations: 7.984 kB / 1.275 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000149/0.7902, allocations: 124.8 kB / 1.276 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 4.355e-05/0.7902, allocations: 18.61 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.647e-05/0.7902, allocations: 4.859 kB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.7903, allocations: 0 / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.7903, allocations: 34.56 kB / 1.276 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.7903, allocations: 4.062 kB / 1.276 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001291/0.7904, allocations: 45.56 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.7905, allocations: 51.41 kB / 1.276 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.73e-05/0.7905, allocations: 89.86 kB / 1.276 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.7906, allocations: 25.7 kB / 1.276 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.7906, allocations: 80.14 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.7906, allocations: 0 / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.7907, allocations: 13.72 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7908, allocations: 314.8 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.7908, allocations: 4.125 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.458e-06/0.7908, allocations: 4 kB / 1.276 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.7908, allocations: 16.78 kB / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7908, allocations: 0 / 1.276 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.582e-05/0.7909, allocations: 29.7 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.7909, allocations: 4 kB / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.7909, allocations: 0 / 1.276 GB, free: 2.074 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7909, allocations: 7.938 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.756e-05/0.791, allocations: 4.094 kB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.791, allocations: 3.938 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.213e-05/0.791, allocations: 0 / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.791, allocations: 7.984 kB / 1.276 GB, free: 2.051 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 (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.619e-05/0.7911, allocations: 109.8 kB / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-06/0.7911, allocations: 0 / 1.276 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.7912, allocations: 52.52 kB / 1.276 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.7912, allocations: 3.984 kB / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.7912, allocations: 0 / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.7912, allocations: 0 / 1.276 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001077/0.7913, allocations: 120.8 kB / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7913, allocations: 0 / 1.277 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.848e-05/0.7914, allocations: 4 kB / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.7914, allocations: 0 / 1.277 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.7914, allocations: 7.938 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.7914, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7914, allocations: 0 / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.637e-05/0.7914, allocations: 61.16 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.362e-06/0.7915, allocations: 4 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.7915, allocations: 15.88 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.109e-05/0.7915, allocations: 0 / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.7915, allocations: 0 / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.7915, allocations: 3.984 kB / 1.277 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.054e-05/0.7915, allocations: 75.28 kB / 1.277 GB, free: 1.523 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.7915, allocations: 4.031 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001964/0.7917, allocations: 6.672 kB / 1.277 GB, free: 1.516 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 (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.0001508/0.7919, allocations: 99.25 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.335e-05/0.792, allocations: 4 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.792, allocations: 0 / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.955e-06/0.792, allocations: 0 / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.7921, allocations: 6.031 kB / 1.277 GB, free: 1.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002025/0.7923, allocations: 96.91 kB / 1.277 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.7926, allocations: 0.6729 MB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.114e-05/0.7927, allocations: 0 / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.7927, allocations: 7.438 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of SimCode: time 3.2e-07/0.7927, allocations: 0 / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of Templates: time 0.002516/0.7952, allocations: 298.3 kB / 1.278 GB, free: 288 kB / 0.9669 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.715231601148844]