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.001799/0.001799, allocations: 80.61 kB / 19.18 MB, free: 2.516 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.002204/0.002204, allocations: 159.5 kB / 22.46 MB, free: 5.375 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.676/2.676, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.951 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.748e-05, allocations: 13.11 kB / 0.951 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001709/0.001747, allocations: 0.5802 MB / 0.9516 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.002004, allocations: 31.88 kB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.234e-05/0.002016, allocations: 0 / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.36e-05/0.00203, allocations: 0 / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.002037, allocations: 4 kB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004546/0.002491, allocations: 11.94 kB / 0.9516 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.00255, allocations: 7.984 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/0.002606, allocations: 4 kB / 0.9517 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.002651, allocations: 3.938 kB / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.595e-05/0.002687, allocations: 0 / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.002704, allocations: 0 / 0.9517 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.002844, allocations: 23.91 kB / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.002857, allocations: 0 / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.002879, allocations: 0 / 0.9517 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.003021, allocations: 19.97 kB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.003023, allocations: 0 / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.31e-07/0.003024, allocations: 0 / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.003029, allocations: 7.938 kB / 0.9517 GB, free: 10.78 MB / 0.8575 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.0004548/0.003484, allocations: 238.5 kB / 0.9519 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.982e-05/0.003544, allocations: 8.031 kB / 0.9519 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.003599, allocations: 0.9375 kB / 0.9519 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.003766, allocations: 109.8 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.003788, allocations: 384 / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.0038, allocations: 4.312 kB / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.003968, allocations: 34.25 kB / 0.9521 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.003983, allocations: 192 / 0.9521 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.003997, allocations: 4.375 kB / 0.9521 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.004004, allocations: 4.375 kB / 0.9521 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.004039, allocations: 3.938 kB / 0.9521 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002249/0.004264, allocations: 101.3 kB / 0.9522 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.004347, allocations: 14.58 kB / 0.9522 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.273e-05/0.00438, allocations: 8.797 kB / 0.9522 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-05/0.004446, allocations: 4.094 kB / 0.9522 GB, free: 10.15 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.944e-05/0.004496, allocations: 34.56 kB / 0.9523 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/0.004498, allocations: 3.938 kB / 0.9523 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002255/0.004723, allocations: 37.69 kB / 0.9523 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.00478, allocations: 51.53 kB / 0.9523 GB, free: 10 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.00485, allocations: 93.86 kB / 0.9524 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.004871, allocations: 25.7 kB / 0.9525 GB, free: 9.867 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.962e-05/0.004911, allocations: 80.14 kB / 0.9525 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.004951, allocations: 3.953 kB / 0.9525 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.004996, allocations: 13.72 kB / 0.9526 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.005175, allocations: 318.8 kB / 0.9529 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.005191, allocations: 3.938 kB / 0.9529 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.005206, allocations: 7.984 kB / 0.9529 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.75e-05/0.005243, allocations: 8.859 kB / 0.9529 GB, free: 9.418 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005245, allocations: 4.062 kB / 0.9529 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.286e-05/0.005318, allocations: 29.7 kB / 0.9529 GB, free: 9.379 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.00534, allocations: 4 kB / 0.9529 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.005346, allocations: 0 / 0.9529 GB, free: 9.375 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.005367, allocations: 4 kB / 0.9529 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.005442, allocations: 0 / 0.9529 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.00545, allocations: 0 / 0.9529 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.005473, allocations: 11.92 kB / 0.9529 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.005493, allocations: 4 kB / 0.9529 GB, free: 9.355 MB / 0.8575 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.0001095/0.005602, allocations: 113.8 kB / 0.953 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.758e-06/0.005612, allocations: 4.031 kB / 0.953 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.005746, allocations: 40.69 kB / 0.9531 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.005748, allocations: 0 / 0.9531 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.005754, allocations: 3.938 kB / 0.9531 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.005758, allocations: 0 / 0.9531 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.005866, allocations: 97.27 kB / 0.9532 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.005867, allocations: 4 kB / 0.9532 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.321e-05/0.00589, allocations: 4 kB / 0.9532 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.005894, allocations: 4.031 kB / 0.9532 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.005901, allocations: 0 / 0.9532 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.005903, allocations: 0 / 0.9532 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.005905, allocations: 4 kB / 0.9532 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.00602, allocations: 61 kB / 0.9533 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.008e-05/0.00603, allocations: 4 kB / 0.9533 GB, free: 8.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.006044, allocations: 3.938 kB / 0.9533 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.286e-05/0.006057, allocations: 0 / 0.9533 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.965e-05/0.006077, allocations: 0 / 0.9533 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.006085, allocations: 4 kB / 0.9533 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.006141, allocations: 83.3 kB / 0.9533 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of sort global known variables: time 6e-08/0.006142, allocations: 0 / 0.9533 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002306/0.006372, allocations: 4 kB / 0.9533 GB, free: 8.867 MB / 0.8575 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.0002469/0.006619, allocations: 107.2 kB / 0.9534 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.546e-05/0.006714, allocations: 4 kB / 0.9535 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.006717, allocations: 0 / 0.9535 GB, free: 8.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.012e-05/0.006727, allocations: 3.938 kB / 0.9535 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/0.006892, allocations: 4 kB / 0.9535 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.007217, allocations: 88.97 kB / 0.9535 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001018/0.007319, allocations: 55.36 kB / 0.9536 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.007349, allocations: 0 / 0.9536 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.007386, allocations: 12.5 kB / 0.9536 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of SimCode: time 7.32e-07/0.007387, allocations: 0 / 0.9536 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of Templates: time 0.003401/0.01079, allocations: 313.3 kB / 0.9539 GB, free: 8.234 MB / 0.8575 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 -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: 7.582896821200848]