Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002044/0.002044, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001856/0.001856, allocations: 221.8 kB / 23 MB, free: 4.91 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.507/1.507, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.258/3.258, allocations: 0.4892 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002101/0.002101, allocations: 66.17 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3876, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001814/0.3894, allocations: 0.5904 MB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002613/0.3897, allocations: 31.89 kB / 1.327 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.221e-05/0.3897, allocations: 0 / 1.327 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.3897, allocations: 0 / 1.327 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.3897, allocations: 4 kB / 1.327 GB, free: 1.215 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003375/0.39, allocations: 11.92 kB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.592e-05/0.3901, allocations: 11.98 kB / 1.327 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.3902, allocations: 4 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.662e-05/0.3902, allocations: 0 / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.029e-05/0.3902, allocations: 0 / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.3902, allocations: 0 / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3903, allocations: 19.97 kB / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.3903, allocations: 0 / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.3904, allocations: 0 / 1.327 GB, free: 1.168 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.3905, allocations: 19.91 kB / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.3905, allocations: 0 / 1.327 GB, free: 1.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.983e-06/0.3905, allocations: 3.938 kB / 1.327 GB, free: 1.145 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.3905, allocations: 4 kB / 1.327 GB, free: 1.141 MB / 1.014 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.0004558/0.391, allocations: 246.8 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.391, allocations: 11.97 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.3911, allocations: 0.9375 kB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.3912, allocations: 102.5 kB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.3912, allocations: 4.375 kB / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3912, allocations: 384 / 1.327 GB, free: 0.7266 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.3914, allocations: 30.25 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3914, allocations: 192 / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.3914, allocations: 3.938 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.3914, allocations: 4 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.261e-05/0.3914, allocations: 4 kB / 1.327 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.3916, allocations: 101.3 kB / 1.327 GB, free: 0.5508 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/0.3917, allocations: 22.55 kB / 1.328 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.3917, allocations: 4.859 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.048e-05/0.3918, allocations: 4.062 kB / 1.328 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.3918, allocations: 30.56 kB / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.3918, allocations: 0 / 1.328 GB, free: 480 kB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0002036/0.392, allocations: 41.62 kB / 1.328 GB, free: 432 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.3921, allocations: 59.47 kB / 1.328 GB, free: 360 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.084e-05/0.3921, allocations: 93.86 kB / 1.328 GB, free: 256 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.3922, allocations: 25.7 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 4.931e-05/0.3922, allocations: 80.14 kB / 1.328 GB, free: 140 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.3923, allocations: 3.953 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/0.3923, allocations: 13.72 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3925, allocations: 314.8 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.591e-05/0.3925, allocations: 3.984 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.167e-06/0.3925, allocations: 4 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.659e-05/0.3926, allocations: 4.859 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3926, allocations: 4.062 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.585e-05/0.3926, allocations: 33.7 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3926, allocations: 6.344 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.3926, allocations: 7.875 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.3927, allocations: 0 / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.309e-05/0.3927, allocations: 7.938 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.3927, allocations: 3.984 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.3928, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.3928, allocations: 4 kB / 1.328 GB, free: 15.71 MB / 1.029 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 0.0001069/0.3929, allocations: 110.4 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-06/0.3929, allocations: 4.031 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.393, allocations: 44.67 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.393, allocations: 7.875 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.393, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.393, allocations: 0 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.764e-05/0.3931, allocations: 93.33 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.3931, allocations: 0 / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.3931, allocations: 4 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3931, allocations: 4.031 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3932, allocations: 3.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3932, allocations: 0 / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3932, allocations: 3.938 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.87e-05/0.3932, allocations: 61.12 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.3933, allocations: 8 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.3933, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.11e-05/0.3933, allocations: 0 / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.3933, allocations: 3.938 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3933, allocations: 3.984 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.465e-05/0.3934, allocations: 83.31 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3934, allocations: 0 / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002068/0.3936, allocations: 11.94 kB / 1.329 GB, free: 15.2 MB / 1.029 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.000203/0.3938, allocations: 95.25 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.873e-05/0.3939, allocations: 7.938 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3939, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.3939, allocations: 4 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.394, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.3943, allocations: 120.7 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.051e-05/0.3944, allocations: 55.36 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.3944, allocations: 11.38 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.3944, allocations: 0 / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of Templates: time 0.002609/0.397, allocations: 451.5 kB / 1.329 GB, free: 14.41 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Polynomial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.70240291999653]