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.001493/0.001493, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00158/0.00158, allocations: 211.5 kB / 22.24 MB, free: 4.855 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.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.809 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.929/2.929, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] 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.002168/0.002168, allocations: 69.7 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3146, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001706/0.3163, allocations: 0.6034 MB / 1.284 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002295/0.3165, allocations: 35.89 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.026e-05/0.3165, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.3165, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.701e-06/0.3165, allocations: 0 / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.3169, allocations: 11.97 kB / 1.284 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.481e-05/0.3169, allocations: 8 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.3169, allocations: 4 kB / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.3169, allocations: 0 / 1.284 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.782e-05/0.317, allocations: 4 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.147e-06/0.317, allocations: 0 / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.422e-05/0.3171, allocations: 23.84 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.727e-06/0.3171, allocations: 4 kB / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.3171, allocations: 0 / 1.284 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.026e-05/0.3172, allocations: 15.95 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3172, allocations: 4 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.363e-06/0.3172, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3172, allocations: 0 / 1.284 GB, free: 11.21 MB / 0.9825 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.0003135/0.3175, allocations: 244.8 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3176, allocations: 8.031 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.3e-05/0.3176, allocations: 0.9375 kB / 1.284 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.856e-05/0.3177, allocations: 106.5 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.3177, allocations: 4.359 kB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.3177, allocations: 384 / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.028e-05/0.3178, allocations: 30.27 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3178, allocations: 4.125 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.3178, allocations: 3.938 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3178, allocations: 0 / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.785e-05/0.3178, allocations: 4 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.318, allocations: 101.3 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.991e-05/0.318, allocations: 18.52 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.283e-05/0.318, allocations: 12.94 kB / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.423e-05/0.3181, allocations: 0 / 1.284 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3181, allocations: 30.56 kB / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.3181, allocations: 0 / 1.284 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001374/0.3182, allocations: 45.58 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.3183, allocations: 51.41 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.802e-05/0.3183, allocations: 89.86 kB / 1.284 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3184, allocations: 33.77 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.3184, allocations: 80.14 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.3184, allocations: 3.953 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3185, allocations: 17.7 kB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3186, allocations: 314.8 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.3186, allocations: 4 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.3186, allocations: 0 / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.984e-05/0.3187, allocations: 12.8 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3187, allocations: 0 / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001163/0.3188, allocations: 33.77 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3188, allocations: 9.875 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3188, allocations: 3.984 kB / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.3188, allocations: 0 / 1.285 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.478e-05/0.3189, allocations: 3.938 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3189, allocations: 0 / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.3189, allocations: 4 kB / 1.285 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3189, allocations: 3.984 kB / 1.285 GB, free: 9.781 MB / 0.9825 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.38e-05/0.319, allocations: 105.9 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.997e-06/0.319, allocations: 4 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3191, allocations: 48.66 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3191, allocations: 3.938 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.3191, allocations: 4 kB / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.3191, allocations: 0 / 1.285 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.3192, allocations: 101.3 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3192, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.3192, allocations: 0 / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3192, allocations: 3.984 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.3193, allocations: 8.031 kB / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3193, allocations: 0 / 1.285 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.3193, allocations: 3.938 kB / 1.285 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.192e-05/0.3193, allocations: 61.08 kB / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-06/0.3193, allocations: 0 / 1.285 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.124e-05/0.3194, allocations: 3.984 kB / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.3194, allocations: 0 / 1.285 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.3194, allocations: 7.875 kB / 1.285 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3194, allocations: 4 kB / 1.285 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.477e-05/0.3194, allocations: 79.22 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3194, allocations: 0 / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002041/0.3196, allocations: 15.97 kB / 1.285 GB, free: 9.273 MB / 0.9825 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.0001645/0.3198, allocations: 95.25 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.489e-05/0.3199, allocations: 4 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3199, allocations: 4 kB / 1.285 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.928e-06/0.3199, allocations: 3.984 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.32, allocations: 0 / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/0.3202, allocations: 88.81 kB / 1.286 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.439e-05/0.3203, allocations: 55.48 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.554e-05/0.3203, allocations: 4 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.875e-05/0.3203, allocations: 11.44 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.3203, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of Templates: time 0.002567/0.3229, allocations: 282.9 kB / 1.286 GB, free: 8.68 MB / 0.9825 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.72666889987886]