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.001457/0.001457, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001141/0.001141, allocations: 172.5 kB / 24.87 MB, free: 8.695 MB / 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 0.9795/0.9795, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.851/1.851, allocations: 359 MB / 0.6063 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.473e-06/1.473e-06, allocations: 7.875 kB / 0.7884 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.308e-05, allocations: 2.844 kB / 0.7884 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001263/0.001286, allocations: 0.6073 MB / 0.789 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001768/0.001463, allocations: 31.89 kB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.376e-05/0.001476, allocations: 0.9375 kB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.00149, allocations: 0 / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.911e-06/0.001496, allocations: 0.6875 kB / 0.789 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.001774, allocations: 18.25 kB / 0.789 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 3.659e-05/0.001811, allocations: 4 kB / 0.789 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.311e-05/0.001844, allocations: 3.938 kB / 0.789 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.001869, allocations: 0 / 0.789 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.368e-05/0.001893, allocations: 4 kB / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.001902, allocations: 0 / 0.789 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.088e-05/0.001983, allocations: 23.91 kB / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.001992, allocations: 1.062 kB / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-06/0.002002, allocations: 0 / 0.789 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.861e-05/0.002081, allocations: 24.45 kB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002082, allocations: 0 / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.61e-07/0.002083, allocations: 1.219 kB / 0.7891 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.002087, allocations: 0 / 0.7891 GB, free: 11.46 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.0002199/0.002307, allocations: 336.4 kB / 0.7894 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.002337, allocations: 10.16 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.00236, allocations: 4.938 kB / 0.7894 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.27e-05/0.002412, allocations: 108.6 kB / 0.7895 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.002421, allocations: 384 / 0.7895 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-06/0.002426, allocations: 384 / 0.7895 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.48e-05/0.002481, allocations: 36.3 kB / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-06/0.002486, allocations: 192 / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.002491, allocations: 384 / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.002495, allocations: 384 / 0.7895 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-06/0.002504, allocations: 3.938 kB / 0.7895 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.22e-05/0.002576, allocations: 97.27 kB / 0.7896 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.002608, allocations: 28.61 kB / 0.7897 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.241e-05/0.002621, allocations: 11.78 kB / 0.7897 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.002644, allocations: 0 / 0.7897 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.002665, allocations: 37.33 kB / 0.7897 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.973e-06/0.002667, allocations: 13.67 kB / 0.7897 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.52e-05/0.002752, allocations: 29.7 kB / 0.7897 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.002779, allocations: 51.41 kB / 0.7898 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.528e-05/0.002814, allocations: 142.2 kB / 0.7899 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.002821, allocations: 26.7 kB / 0.79 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/0.002848, allocations: 126.9 kB / 0.7901 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.002876, allocations: 12.52 kB / 0.7901 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.002897, allocations: 15.38 kB / 0.7901 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.003006, allocations: 0.4902 MB / 0.7906 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-06/0.003013, allocations: 4 kB / 0.7906 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.003019, allocations: 0 / 0.7906 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.003044, allocations: 15.62 kB / 0.7906 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.003046, allocations: 2.531 kB / 0.7906 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.129e-05/0.003087, allocations: 33.69 kB / 0.7906 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.003098, allocations: 4 kB / 0.7906 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.003102, allocations: 0 / 0.7906 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.639e-06/0.003111, allocations: 4 kB / 0.7906 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.003154, allocations: 0 / 0.7906 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.465e-06/0.003157, allocations: 0.7188 kB / 0.7906 GB, free: 9.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.666e-06/0.003165, allocations: 4 kB / 0.7906 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.003175, allocations: 4.531 kB / 0.7907 GB, free: 9.645 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 5.788e-05/0.003233, allocations: 158.2 kB / 0.7908 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.599e-06/0.003238, allocations: 352 / 0.7908 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.003308, allocations: 49.28 kB / 0.7909 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.00331, allocations: 1.094 kB / 0.7909 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.003311, allocations: 0 / 0.7909 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.003313, allocations: 0 / 0.7909 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.241e-05/0.003365, allocations: 98.31 kB / 0.7909 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.003367, allocations: 0 / 0.7909 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.155e-05/0.003379, allocations: 4 kB / 0.7909 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.003381, allocations: 5.359 kB / 0.791 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-06/0.003385, allocations: 0 / 0.791 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.003386, allocations: 0 / 0.791 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.003386, allocations: 0 / 0.791 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.073e-05/0.003437, allocations: 77.17 kB / 0.791 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-06/0.003442, allocations: 8.781 kB / 0.791 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-06/0.003448, allocations: 3.984 kB / 0.791 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-06/0.003453, allocations: 0 / 0.791 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-06/0.003462, allocations: 1.281 kB / 0.791 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.003465, allocations: 0 / 0.791 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.774e-05/0.003493, allocations: 123.2 kB / 0.7912 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.003493, allocations: 0.8438 kB / 0.7912 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001326/0.003625, allocations: 4 kB / 0.7912 GB, free: 9.062 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.0001114/0.003737, allocations: 100.1 kB / 0.7913 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.003806, allocations: 17.17 kB / 0.7913 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.003808, allocations: 0 / 0.7913 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/0.003815, allocations: 11.69 kB / 0.7913 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.748e-05/0.003902, allocations: 5.188 kB / 0.7913 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001397/0.004042, allocations: 91.89 kB / 0.7914 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.684e-05/0.004069, allocations: 51.36 kB / 0.7914 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.927e-05/0.004088, allocations: 11.08 kB / 0.7914 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.004119, allocations: 70.19 kB / 0.7915 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.00412, allocations: 0 / 0.7915 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of Templates: time 0.001705/0.005825, allocations: 347.1 kB / 0.7918 GB, free: 8.324 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: 5.092492132913321]