Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001064/0.001064, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001679/0.002742, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001283/0.001283, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001711/0.002993, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.018/1.018, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08821/1.106, allocations: 53.68 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.405/2.405, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2464/2.651, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.819 GB, free: 2.441 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.545e-05, allocations: 2.312 kB / 0.819 GB, free: 2.438 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001818/0.001843, allocations: 0.6464 MB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 8.274e-05/0.001926, allocations: 27.83 kB / 0.8196 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.151e-05/0.001938, allocations: 0 / 0.8196 GB, free: 1.758 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.749e-06/0.001942, allocations: 4 kB / 0.8196 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 1.532e-06/0.001944, allocations: 0 / 0.8196 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.002112, allocations: 7.984 kB / 0.8197 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.00217, allocations: 4 kB / 0.8197 GB, free: 1.742 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.002211, allocations: 4 kB / 0.8197 GB, free: 1.738 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.087e-05/0.002252, allocations: 7.984 kB / 0.8197 GB, free: 1.73 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 3.024e-05/0.002282, allocations: 3.984 kB / 0.8197 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.002296, allocations: 7.938 kB / 0.8197 GB, free: 1.719 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.0024, allocations: 11.98 kB / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.002412, allocations: 0 / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.132e-05/0.002424, allocations: 0 / 0.8197 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.379e-05/0.002518, allocations: 15.88 kB / 0.8197 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.00253, allocations: 0 / 0.8197 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.42e-07/0.002531, allocations: 0 / 0.8197 GB, free: 1.691 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.002545, allocations: 0 / 0.8197 GB, free: 1.691 MB / 0.7917 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.0003187/0.002864, allocations: 224.7 kB / 0.8199 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.0029, allocations: 8.031 kB / 0.8199 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.002933, allocations: 0.9375 kB / 0.8199 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.00301, allocations: 109.8 kB / 0.82 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003022, allocations: 384 / 0.82 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.003034, allocations: 384 / 0.82 GB, free: 1.305 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.354e-05/0.003128, allocations: 30.25 kB / 0.8201 GB, free: 1.27 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.003138, allocations: 8.172 kB / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.003145, allocations: 384 / 0.8201 GB, free: 1.262 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.003151, allocations: 4.312 kB / 0.8201 GB, free: 1.258 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.482e-05/0.003166, allocations: 3.938 kB / 0.8201 GB, free: 1.254 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.958e-05/0.003256, allocations: 57.05 kB / 0.8201 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 3.842e-05/0.003294, allocations: 14.58 kB / 0.8201 GB, free: 1.16 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.265e-05/0.003307, allocations: 8.859 kB / 0.8202 GB, free: 1.148 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.673e-05/0.003343, allocations: 4.094 kB / 0.8202 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.003389, allocations: 34.56 kB / 0.8202 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.00339, allocations: 0 / 0.8202 GB, free: 1.102 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 0.000104/0.003494, allocations: 37.62 kB / 0.8202 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.003522, allocations: 51.41 kB / 0.8203 GB, free: 0.9961 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.373e-05/0.003556, allocations: 93.86 kB / 0.8204 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.003566, allocations: 25.7 kB / 0.8204 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.092e-05/0.003587, allocations: 80.14 kB / 0.8205 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.924e-05/0.003616, allocations: 0 / 0.8205 GB, free: 0.7812 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.902e-05/0.003645, allocations: 17.84 kB / 0.8205 GB, free: 0.7578 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.003778, allocations: 318.8 kB / 0.8208 GB, free: 448 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.003787, allocations: 3.938 kB / 0.8208 GB, free: 444 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.284e-06/0.003794, allocations: 3.984 kB / 0.8208 GB, free: 440 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.003825, allocations: 12.8 kB / 0.8208 GB, free: 424 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.003827, allocations: 0 / 0.8208 GB, free: 424 kB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.934e-05/0.003877, allocations: 29.7 kB / 0.8208 GB, free: 388 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.003891, allocations: 8 kB / 0.8208 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.003895, allocations: 0 / 0.8208 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.003908, allocations: 4.094 kB / 0.8208 GB, free: 376 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.052e-05/0.003969, allocations: 4 kB / 0.8209 GB, free: 372 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.003973, allocations: 3.984 kB / 0.8209 GB, free: 368 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.003991, allocations: 4 kB / 0.8209 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.004003, allocations: 0 / 0.8209 GB, free: 364 kB / 0.7917 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.688e-05/0.00406, allocations: 113.8 kB / 0.821 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.004066, allocations: 0 / 0.821 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.254e-05/0.004159, allocations: 44.62 kB / 0.821 GB, free: 192 kB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.00416, allocations: 4.031 kB / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.004162, allocations: 0 / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.004164, allocations: 0 / 0.821 GB, free: 188 kB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.599e-05/0.00423, allocations: 61.84 kB / 0.8211 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004231, allocations: 0 / 0.8211 GB, free: 108 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.806e-05/0.004249, allocations: 4 kB / 0.8211 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-06/0.004253, allocations: 0 / 0.8211 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.004256, allocations: 0 / 0.8211 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.00426, allocations: 0 / 0.8211 GB, free: 104 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.004264, allocations: 11.97 kB / 0.8211 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.004265, allocations: 0 / 0.8211 GB, free: 92 kB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.731e-05/0.004322, allocations: 61.02 kB / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.864e-06/0.00433, allocations: 0 / 0.8211 GB, free: 12 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-06/0.004338, allocations: 8 kB / 0.8212 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.004349, allocations: 0 / 0.8212 GB, free: 4 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.004354, allocations: 3.984 kB / 0.8212 GB, free: 0 / 0.7917 GB Notification: Performance of sorting global known variables: time 2.33e-05/0.004377, allocations: 4.859 kB / 0.8212 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.004377, allocations: 0 / 0.8212 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000154/0.004531, allocations: 4 kB / 0.8212 GB, free: 15.99 MB / 0.8073 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.0001367/0.004668, allocations: 80.36 kB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.103e-05/0.004729, allocations: 16.83 kB / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.004732, allocations: 0 / 0.8213 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.004748, allocations: 12.84 kB / 0.8213 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.661e-05/0.004815, allocations: 18.8 kB / 0.8213 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000186/0.005001, allocations: 86.14 kB / 0.8214 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.877e-05/0.00509, allocations: 55.34 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.713e-05/0.005117, allocations: 4.188 kB / 0.8214 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.893e-05/0.005156, allocations: 51.38 kB / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of SimCode: time 5.21e-07/0.005156, allocations: 0 / 0.8215 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.002069/0.007225, allocations: 345.6 kB / 0.8218 GB, free: 15.27 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Polynomial.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2097079968079925]