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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 162.9 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.392/1.392, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 179] 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.609/2.609, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 71.89 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2731, allocations: 169.9 MB / 1.117 GB, free: 2.512 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001678/0.2748, allocations: 0.5838 MB / 1.118 GB, free: 1.93 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002195/0.275, allocations: 35.83 kB / 1.118 GB, free: 1.895 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.031e-05/0.2751, allocations: 0 / 1.118 GB, free: 1.895 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.338e-05/0.2751, allocations: 7.938 kB / 1.118 GB, free: 1.887 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-06/0.2751, allocations: 0 / 1.118 GB, free: 1.887 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.2753, allocations: 15.98 kB / 1.118 GB, free: 1.871 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 3.829e-05/0.2754, allocations: 0 / 1.118 GB, free: 1.871 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.2754, allocations: 0 / 1.118 GB, free: 1.871 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.148e-05/0.2754, allocations: 4 kB / 1.118 GB, free: 1.867 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.114e-05/0.2755, allocations: 0 / 1.118 GB, free: 1.867 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.2755, allocations: 0 / 1.118 GB, free: 1.867 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.688e-05/0.2755, allocations: 19.97 kB / 1.118 GB, free: 1.848 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.2756, allocations: 3.984 kB / 1.118 GB, free: 1.844 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.293e-05/0.2756, allocations: 4 kB / 1.118 GB, free: 1.84 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.823e-05/0.2757, allocations: 23.86 kB / 1.118 GB, free: 1.816 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2757, allocations: 0 / 1.118 GB, free: 1.816 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2757, allocations: 0 / 1.118 GB, free: 1.816 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2757, allocations: 3.984 kB / 1.118 GB, free: 1.812 MB / 1.061 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.0002905/0.276, allocations: 230.5 kB / 1.118 GB, free: 1.555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.276, allocations: 15.97 kB / 1.118 GB, free: 1.539 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.276, allocations: 0.9375 kB / 1.118 GB, free: 1.539 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.416e-05/0.2761, allocations: 102.5 kB / 1.119 GB, free: 1.414 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.2761, allocations: 4.312 kB / 1.119 GB, free: 1.41 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.2761, allocations: 384 / 1.119 GB, free: 1.41 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.2762, allocations: 38.25 kB / 1.119 GB, free: 1.367 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2762, allocations: 192 / 1.119 GB, free: 1.367 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.2762, allocations: 7.938 kB / 1.119 GB, free: 1.359 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.2762, allocations: 0 / 1.119 GB, free: 1.359 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.971e-05/0.2762, allocations: 7.938 kB / 1.119 GB, free: 1.352 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.2764, allocations: 93.33 kB / 1.119 GB, free: 1.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.2764, allocations: 18.61 kB / 1.119 GB, free: 1.203 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.2764, allocations: 4.859 kB / 1.119 GB, free: 1.195 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.2764, allocations: 3.984 kB / 1.119 GB, free: 1.191 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2765, allocations: 38.62 kB / 1.119 GB, free: 1.145 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.2765, allocations: 4 kB / 1.119 GB, free: 1.141 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.2766, allocations: 37.58 kB / 1.119 GB, free: 1.098 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.2766, allocations: 51.41 kB / 1.119 GB, free: 1.035 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.208e-05/0.2767, allocations: 89.86 kB / 1.119 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2767, allocations: 29.7 kB / 1.119 GB, free: 0.9023 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.2767, allocations: 80.14 kB / 1.119 GB, free: 0.8203 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/0.2767, allocations: 3.953 kB / 1.119 GB, free: 0.8164 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.2768, allocations: 9.719 kB / 1.119 GB, free: 0.8008 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.2769, allocations: 322.8 kB / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.376e-06/0.2769, allocations: 0 / 1.119 GB, free: 488 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.2769, allocations: 4.125 kB / 1.119 GB, free: 484 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.2769, allocations: 8.859 kB / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.2769, allocations: 0 / 1.119 GB, free: 472 kB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.783e-05/0.277, allocations: 41.62 kB / 1.119 GB, free: 424 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.277, allocations: 4 kB / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.277, allocations: 0 / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.277, allocations: 0 / 1.119 GB, free: 420 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.2771, allocations: 11.92 kB / 1.119 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.2771, allocations: 0 / 1.119 GB, free: 408 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.373e-05/0.2771, allocations: 8.031 kB / 1.119 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.2771, allocations: 3.984 kB / 1.119 GB, free: 396 kB / 1.061 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 6.931e-05/0.2772, allocations: 113.8 kB / 1.119 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-06/0.2772, allocations: 0 / 1.119 GB, free: 272 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.422e-05/0.2773, allocations: 40.69 kB / 1.12 GB, free: 220 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.2773, allocations: 7.875 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.2773, allocations: 7.938 kB / 1.12 GB, free: 204 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.2773, allocations: 4.031 kB / 1.12 GB, free: 200 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.87e-05/0.2773, allocations: 97.27 kB / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2773, allocations: 0 / 1.12 GB, free: 72 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.2774, allocations: 8 kB / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2774, allocations: 0 / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.2774, allocations: 0 / 1.12 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.2774, allocations: 3.984 kB / 1.12 GB, free: 60 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2774, allocations: 3.938 kB / 1.12 GB, free: 56 kB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.939e-05/0.2775, allocations: 53.14 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.085e-06/0.2775, allocations: 0 / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-06/0.2775, allocations: 0 / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.409e-05/0.2775, allocations: 8.031 kB / 1.12 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.2775, allocations: 11.92 kB / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.2775, allocations: 0 / 1.12 GB, free: 15.96 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.2775, allocations: 75.28 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.2775, allocations: 0 / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001871/0.2777, allocations: 4 kB / 1.12 GB, free: 15.89 MB / 1.076 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.0001184/0.2778, allocations: 103.2 kB / 1.12 GB, free: 15.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 5.791e-05/0.2779, allocations: 4 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2779, allocations: 0 / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.2779, allocations: 8.062 kB / 1.12 GB, free: 15.77 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.278, allocations: 3.984 kB / 1.12 GB, free: 15.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001625/0.2782, allocations: 84.81 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.2782, allocations: 51.36 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.2783, allocations: 4 kB / 1.12 GB, free: 15.58 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.2783, allocations: 12.56 kB / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.5e-07/0.2783, allocations: 0 / 1.12 GB, free: 15.57 MB / 1.076 GB Notification: Performance of Templates: time 0.00225/0.2805, allocations: 289.3 kB / 1.12 GB, free: 15.29 MB / 1.076 GB " [Timeout remaining time 300] 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 -s ida -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/jenkins1/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: 7.482514424016699]