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.001475/0.001475, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.002086/0.002086, allocations: 181 kB / 24.09 MB, free: 416 kB / 18.57 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.021/1.021, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 1.786/1.786, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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.603e-06/1.603e-06, allocations: 0 / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.743e-05, allocations: 2.312 kB / 0.7876 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001215/0.001242, allocations: 0.5989 MB / 0.7882 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001973/0.001439, allocations: 28.45 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.709e-05/0.001456, allocations: 0 / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.001474, allocations: 0.6562 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.484e-06/0.001481, allocations: 3.938 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.001813, allocations: 16.64 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.374e-05/0.001857, allocations: 5.234 kB / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.001895, allocations: 0 / 0.7883 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.262e-05/0.001928, allocations: 4 kB / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.175e-05/0.00195, allocations: 1.625 kB / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.001961, allocations: 0 / 0.7883 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.369e-05/0.002045, allocations: 23.95 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.002055, allocations: 3.938 kB / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.064e-05/0.002065, allocations: 0 / 0.7883 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.111e-05/0.002147, allocations: 17.2 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002148, allocations: 0 / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.002149, allocations: 3.938 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002153, allocations: 0.625 kB / 0.7883 GB, free: 11.43 MB / 0.7448 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.0002379/0.002391, allocations: 340.4 kB / 0.7886 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.002429, allocations: 13.44 kB / 0.7886 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.002451, allocations: 0.9375 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.484e-05/0.002506, allocations: 104.6 kB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.002514, allocations: 1.219 kB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.00252, allocations: 4.375 kB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.24e-05/0.002582, allocations: 30.81 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.002589, allocations: 192 / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.002594, allocations: 1.062 kB / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.002599, allocations: 384 / 0.7888 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.174e-05/0.002611, allocations: 8.844 kB / 0.7888 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.069e-05/0.002702, allocations: 93.27 kB / 0.7889 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.038e-05/0.002732, allocations: 35.67 kB / 0.7889 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.002743, allocations: 8.625 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.002778, allocations: 4.062 kB / 0.7889 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.002798, allocations: 33.39 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.002799, allocations: 3.312 kB / 0.789 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 9.663e-05/0.002895, allocations: 37.62 kB / 0.789 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/0.002921, allocations: 51.41 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.615e-05/0.002957, allocations: 146.2 kB / 0.7892 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.002965, allocations: 25.7 kB / 0.7892 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.002994, allocations: 126.9 kB / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.003019, allocations: 0 / 0.7893 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.003042, allocations: 23.38 kB / 0.7894 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.003166, allocations: 496.8 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.176e-06/0.003174, allocations: 5.594 kB / 0.7898 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-06/0.003181, allocations: 4 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.691e-05/0.003208, allocations: 15.67 kB / 0.7899 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00321, allocations: 0 / 0.7899 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.197e-05/0.003252, allocations: 34.98 kB / 0.7899 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.003264, allocations: 8 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.003269, allocations: 0 / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.00328, allocations: 1.594 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.843e-05/0.003328, allocations: 0 / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.003331, allocations: 4 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-06/0.003339, allocations: 0 / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.003348, allocations: 1.594 kB / 0.7899 GB, free: 9.617 MB / 0.7448 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.035e-05/0.003409, allocations: 160.5 kB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.07e-06/0.003414, allocations: 4.344 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.00349, allocations: 38.23 kB / 0.7901 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.21e-07/0.00349, allocations: 0 / 0.7901 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.003493, allocations: 4.516 kB / 0.7901 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.003495, allocations: 1.062 kB / 0.7901 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.833e-05/0.003554, allocations: 101.2 kB / 0.7902 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.003555, allocations: 3.938 kB / 0.7902 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.268e-05/0.003568, allocations: 0.625 kB / 0.7902 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.00357, allocations: 4 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-06/0.003573, allocations: 0.5312 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.003575, allocations: 5.359 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.003576, allocations: 0 / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.156e-05/0.003628, allocations: 72.38 kB / 0.7903 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-06/0.003633, allocations: 5.156 kB / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-06/0.00364, allocations: 0 / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.248e-06/0.003644, allocations: 0 / 0.7903 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.939e-06/0.003654, allocations: 4.938 kB / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.003657, allocations: 0 / 0.7903 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.899e-05/0.003686, allocations: 123.2 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003686, allocations: 1.562 kB / 0.7904 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001208/0.003807, allocations: 4 kB / 0.7904 GB, free: 9.035 MB / 0.7448 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.000116/0.003923, allocations: 111.1 kB / 0.7905 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.442e-05/0.003977, allocations: 16.97 kB / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.003979, allocations: 0 / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.812e-06/0.003986, allocations: 8.656 kB / 0.7905 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.755e-05/0.004073, allocations: 9.484 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001481/0.004221, allocations: 86.25 kB / 0.7906 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.875e-05/0.00425, allocations: 55.36 kB / 0.7907 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.195e-05/0.004272, allocations: 4 kB / 0.7907 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.31e-05/0.004305, allocations: 73.64 kB / 0.7908 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.004306, allocations: 4 kB / 0.7908 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of Templates: time 0.00179/0.006095, allocations: 348.4 kB / 0.7911 GB, free: 8.285 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.91263548610732]