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.001147/0.001147, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002675, allocations: 435.8 kB / 10.33 MB, free: 368 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.001122/0.001122, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001362/0.002484, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9583/0.9583, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09772/1.056, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.443/2.443, allocations: 446.7 MB / 0.6745 GB, free: 6.215 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3114/2.755, allocations: 145.9 MB / 0.817 GB, free: 4.211 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.072e-06/1.072e-06, allocations: 0 / 0.8184 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.397e-05/1.504e-05, allocations: 2.312 kB / 0.8184 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001265/0.001281, allocations: 0.6422 MB / 0.819 GB, free: 2.184 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 5.777e-05/0.001338, allocations: 23.91 kB / 0.819 GB, free: 2.16 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-06/0.001345, allocations: 4 kB / 0.819 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.166e-06/0.001348, allocations: 0 / 0.819 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-07/0.001349, allocations: 0 / 0.819 GB, free: 2.156 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001027/0.001452, allocations: 11.98 kB / 0.819 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 2.863e-05/0.00148, allocations: 0 / 0.819 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 2.522e-05/0.001506, allocations: 7.938 kB / 0.819 GB, free: 2.137 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 2.758e-05/0.001533, allocations: 7.984 kB / 0.819 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 1.468e-05/0.001548, allocations: 0 / 0.819 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.165e-06/0.001556, allocations: 0 / 0.819 GB, free: 2.129 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.616e-05/0.001622, allocations: 19.97 kB / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 5.2e-06/0.001627, allocations: 0 / 0.8191 GB, free: 2.109 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.765e-06/0.001635, allocations: 4 kB / 0.8191 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 5.628e-05/0.001691, allocations: 11.88 kB / 0.8191 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.001703, allocations: 0 / 0.8191 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.21e-07/0.001704, allocations: 0 / 0.8191 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.001719, allocations: 0 / 0.8191 GB, free: 2.094 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.0001969/0.001916, allocations: 220.7 kB / 0.8193 GB, free: 1.852 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.299e-05/0.001939, allocations: 8.625 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.227e-05/0.001951, allocations: 0.9375 kB / 0.8193 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.179e-05/0.001993, allocations: 113.7 kB / 0.8194 GB, free: 1.707 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-06/0.001998, allocations: 4.375 kB / 0.8194 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-06/0.002002, allocations: 384 / 0.8194 GB, free: 1.703 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.6e-05/0.002048, allocations: 34.25 kB / 0.8194 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-06/0.002053, allocations: 192 / 0.8194 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-06/0.002057, allocations: 384 / 0.8194 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.00206, allocations: 384 / 0.8194 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.728e-06/0.00207, allocations: 3.938 kB / 0.8195 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.364e-05/0.002113, allocations: 60.98 kB / 0.8195 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 2.22e-05/0.002135, allocations: 14.58 kB / 0.8195 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-06/0.002145, allocations: 8.953 kB / 0.8195 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.002168, allocations: 4 kB / 0.8195 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.002185, allocations: 38.55 kB / 0.8196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.002186, allocations: 0 / 0.8196 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1): time 4.835e-05/0.002234, allocations: 33.64 kB / 0.8196 GB, free: 1.461 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.002254, allocations: 55.41 kB / 0.8197 GB, free: 1.395 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.266e-05/0.002277, allocations: 89.86 kB / 0.8197 GB, free: 1.297 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-06/0.002284, allocations: 25.7 kB / 0.8198 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.002304, allocations: 80.14 kB / 0.8198 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.002318, allocations: 0 / 0.8198 GB, free: 1.184 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/0.002334, allocations: 13.72 kB / 0.8199 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.002399, allocations: 322.9 kB / 0.8202 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.306e-06/0.002402, allocations: 0 / 0.8202 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.427e-06/0.002405, allocations: 4 kB / 0.8202 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.028e-05/0.002426, allocations: 8.859 kB / 0.8202 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.002427, allocations: 0 / 0.8202 GB, free: 0.8242 MB / 0.7917 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.525e-05/0.002462, allocations: 33.64 kB / 0.8202 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.002472, allocations: 8 kB / 0.8202 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.002474, allocations: 0 / 0.8202 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.66e-06/0.00248, allocations: 0 / 0.8202 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.389e-05/0.002514, allocations: 8.078 kB / 0.8202 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-06/0.002515, allocations: 0 / 0.8202 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-06/0.002523, allocations: 4 kB / 0.8202 GB, free: 0.7656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.002529, allocations: 0 / 0.8202 GB, free: 0.7656 MB / 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 4.488e-05/0.002574, allocations: 113.8 kB / 0.8203 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.00258, allocations: 4 kB / 0.8203 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.012e-05/0.00263, allocations: 40.62 kB / 0.8204 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.91e-07/0.002631, allocations: 0 / 0.8204 GB, free: 0.5977 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.002632, allocations: 4.031 kB / 0.8204 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.002634, allocations: 3.938 kB / 0.8204 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.536e-05/0.002679, allocations: 65.83 kB / 0.8204 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.00268, allocations: 0 / 0.8204 GB, free: 0.5078 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.002687, allocations: 4 kB / 0.8205 GB, free: 0.5039 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-06/0.002692, allocations: 3.984 kB / 0.8205 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.002693, allocations: 0 / 0.8205 GB, free: 0.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.002697, allocations: 7.984 kB / 0.8205 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.002697, allocations: 0 / 0.8205 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.002698, allocations: 0 / 0.8205 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.55e-05/0.002744, allocations: 57.08 kB / 0.8205 GB, free: 428 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-06/0.00275, allocations: 4 kB / 0.8205 GB, free: 424 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.035e-06/0.002758, allocations: 7.984 kB / 0.8205 GB, free: 416 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-06/0.002765, allocations: 0 / 0.8205 GB, free: 416 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.002767, allocations: 0 / 0.8205 GB, free: 416 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.298e-06/0.002772, allocations: 4.859 kB / 0.8205 GB, free: 408 kB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.002772, allocations: 0 / 0.8205 GB, free: 408 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001303/0.002902, allocations: 4 kB / 0.8205 GB, free: 404 kB / 0.7917 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 8.107e-05/0.002983, allocations: 86.69 kB / 0.8206 GB, free: 308 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 3.596e-05/0.003019, allocations: 12.89 kB / 0.8206 GB, free: 292 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.003021, allocations: 0 / 0.8206 GB, free: 292 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.003029, allocations: 12.84 kB / 0.8206 GB, free: 276 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.68e-05/0.003066, allocations: 3.938 kB / 0.8206 GB, free: 272 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001167/0.003183, allocations: 82.16 kB / 0.8207 GB, free: 160 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.773e-05/0.003211, allocations: 59.34 kB / 0.8208 GB, free: 80 kB / 0.7917 GB Notification: Performance of simCode: alias equations: time 1.761e-05/0.003228, allocations: 8.125 kB / 0.8208 GB, free: 72 kB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.003257, allocations: 47.38 kB / 0.8208 GB, free: 24 kB / 0.7917 GB Notification: Performance of SimCode: time 3.7e-07/0.003258, allocations: 0 / 0.8208 GB, free: 24 kB / 0.7917 GB Notification: Performance of Templates: time 0.001653/0.004911, allocations: 332.6 kB / 0.8212 GB, free: 15.7 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.258429449051619]