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.0009494/0.0009494, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009003/0.0009003, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.004/1.004, allocations: 177.2 MB / 204.2 MB, free: 5.59 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.76/1.76, allocations: 359 MB / 0.6052 GB, free: 10.95 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.763e-06/1.763e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.454e-05, allocations: 4.281 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001458/0.001483, allocations: 0.6003 MB / 0.7877 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002473/0.00173, allocations: 41.05 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.402e-05/0.001744, allocations: 0 / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.001765, allocations: 0 / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-06/0.001772, allocations: 1.75 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000354/0.002126, allocations: 7.984 kB / 0.7878 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.002176, allocations: 4 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.002215, allocations: 3.984 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.303e-05/0.002248, allocations: 8.781 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.913e-05/0.002277, allocations: 4 kB / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.00229, allocations: 0 / 0.7878 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.002398, allocations: 16.62 kB / 0.7878 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.002411, allocations: 5.359 kB / 0.7878 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.749e-05/0.002428, allocations: 4 kB / 0.7878 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.002537, allocations: 15.92 kB / 0.7878 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.00254, allocations: 0 / 0.7878 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.253e-06/0.002541, allocations: 1.312 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.002546, allocations: 0 / 0.7879 GB, free: 11.7 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.0003109/0.002857, allocations: 344.4 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.002898, allocations: 8.031 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.002937, allocations: 6 kB / 0.7882 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.576e-05/0.003013, allocations: 104.6 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.003024, allocations: 1.75 kB / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-06/0.003032, allocations: 384 / 0.7883 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.043e-05/0.003123, allocations: 30.27 kB / 0.7883 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.003129, allocations: 192 / 0.7883 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.003139, allocations: 2.031 kB / 0.7883 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.003148, allocations: 4.359 kB / 0.7883 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.913e-05/0.003167, allocations: 11.88 kB / 0.7883 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001157/0.003283, allocations: 108.6 kB / 0.7884 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.365e-05/0.003327, allocations: 28.69 kB / 0.7885 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.003344, allocations: 7.688 kB / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.003378, allocations: 0 / 0.7885 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.003402, allocations: 37.45 kB / 0.7885 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.51e-07/0.003403, allocations: 1.594 kB / 0.7885 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001381/0.003541, allocations: 41.56 kB / 0.7886 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.003575, allocations: 51.41 kB / 0.7886 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.751e-05/0.003623, allocations: 148.9 kB / 0.7887 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.003635, allocations: 25.7 kB / 0.7888 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.526e-05/0.00367, allocations: 130.9 kB / 0.7889 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.003698, allocations: 0 / 0.7889 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.003727, allocations: 15.38 kB / 0.7889 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.003863, allocations: 0.4883 MB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.003878, allocations: 0 / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.843e-06/0.003885, allocations: 0.7188 kB / 0.7894 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.705e-05/0.003922, allocations: 16.2 kB / 0.7894 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003924, allocations: 0 / 0.7894 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.011e-05/0.003984, allocations: 39.02 kB / 0.7894 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.004002, allocations: 8 kB / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.004007, allocations: 0 / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.004019, allocations: 1.156 kB / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.541e-05/0.004085, allocations: 0 / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.00409, allocations: 0 / 0.7894 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.004103, allocations: 13.31 kB / 0.7895 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.004116, allocations: 0 / 0.7895 GB, free: 9.859 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 7.523e-05/0.004191, allocations: 156.6 kB / 0.7896 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.604e-06/0.004199, allocations: 6.094 kB / 0.7896 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.004304, allocations: 40.64 kB / 0.7897 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.004307, allocations: 1.062 kB / 0.7897 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.004313, allocations: 3.984 kB / 0.7897 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.004316, allocations: 0 / 0.7897 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.379e-05/0.00439, allocations: 117.2 kB / 0.7898 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.004391, allocations: 1.844 kB / 0.7898 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.004409, allocations: 0 / 0.7898 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.004411, allocations: 0 / 0.7898 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.004417, allocations: 4 kB / 0.7898 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.004419, allocations: 0 / 0.7898 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00442, allocations: 2 kB / 0.7898 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.249e-05/0.004493, allocations: 80.36 kB / 0.7899 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-06/0.004497, allocations: 0 / 0.7899 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.004507, allocations: 0 / 0.7899 GB, free: 9.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.476e-06/0.004516, allocations: 3.938 kB / 0.7899 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.00453, allocations: 0.5938 kB / 0.7899 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.004534, allocations: 4 kB / 0.7899 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.502e-05/0.004569, allocations: 123.7 kB / 0.79 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.004569, allocations: 0.7188 kB / 0.79 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002334/0.004802, allocations: 4 kB / 0.79 GB, free: 9.254 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.0001567/0.004959, allocations: 117.1 kB / 0.7901 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.201e-05/0.005041, allocations: 11.69 kB / 0.7901 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.005043, allocations: 0 / 0.7901 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-06/0.005051, allocations: 8.594 kB / 0.7901 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.005204, allocations: 5.719 kB / 0.7901 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002107/0.005414, allocations: 88.78 kB / 0.7902 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.005449, allocations: 55.36 kB / 0.7903 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.576e-05/0.005475, allocations: 1.938 kB / 0.7903 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.005497, allocations: 9.094 kB / 0.7903 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of SimCode: time 7.12e-07/0.005498, allocations: 1.844 kB / 0.7903 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of Templates: time 0.002563/0.008061, allocations: 340.3 kB / 0.7906 GB, free: 8.582 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.8623463227413595]