Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001996/0.001996, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002393/0.002393, allocations: 167.8 kB / 22.46 MB, free: 5.375 MB / 14.72 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.47/1.47, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.766/2.766, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] 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.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.664e-05, allocations: 2.281 kB / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.003035/0.003071, allocations: 1.464 MB / 0.9524 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003259/0.003397, allocations: 83.81 kB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.616e-05/0.003433, allocations: 0 / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 7.077e-05/0.003504, allocations: 3.938 kB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.056e-05/0.003545, allocations: 7.984 kB / 0.9525 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002878/0.003833, allocations: 27.86 kB / 0.9525 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.539e-05/0.003918, allocations: 23.86 kB / 0.9525 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.00401, allocations: 8 kB / 0.9525 GB, free: 9.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.72e-05/0.004057, allocations: 11.98 kB / 0.9526 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.615e-05/0.004103, allocations: 7.984 kB / 0.9526 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.004119, allocations: 0 / 0.9526 GB, free: 9.922 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.004226, allocations: 23.97 kB / 0.9526 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.254e-05/0.004268, allocations: 7.984 kB / 0.9526 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.004299, allocations: 11.94 kB / 0.9526 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004447, allocations: 31.95 kB / 0.9526 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.004451, allocations: 4 kB / 0.9526 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004452, allocations: 3.938 kB / 0.9526 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.004456, allocations: 0 / 0.9526 GB, free: 9.84 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004922/0.004949, allocations: 266.3 kB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.004988, allocations: 8.031 kB / 0.9529 GB, free: 9.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.005032, allocations: 8.891 kB / 0.9529 GB, free: 9.531 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.005154, allocations: 113.7 kB / 0.953 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.005176, allocations: 4.375 kB / 0.953 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.005186, allocations: 384 / 0.953 GB, free: 9.391 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.0054, allocations: 54.23 kB / 0.9531 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.00541, allocations: 4.125 kB / 0.9531 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.005422, allocations: 4.375 kB / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.005427, allocations: 384 / 0.9531 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001897/0.005617, allocations: 39.91 kB / 0.9531 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.005972, allocations: 200.6 kB / 0.9533 GB, free: 9.059 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.006129, allocations: 46.55 kB / 0.9534 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.006224, allocations: 24.84 kB / 0.9534 GB, free: 8.977 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.802e-05/0.006262, allocations: 4 kB / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.006302, allocations: 34.56 kB / 0.9534 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.006303, allocations: 0 / 0.9534 GB, free: 8.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004024/0.006706, allocations: 93.53 kB / 0.9535 GB, free: 8.832 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.006752, allocations: 55.34 kB / 0.9536 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.006855, allocations: 105.8 kB / 0.9537 GB, free: 8.652 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.006872, allocations: 29.83 kB / 0.9537 GB, free: 8.617 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.006923, allocations: 84.14 kB / 0.9538 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.006946, allocations: 11.94 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.66e-05/0.006983, allocations: 13.72 kB / 0.9538 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.007125, allocations: 310.8 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.389e-05/0.007219, allocations: 19.98 kB / 0.9541 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.605e-05/0.007305, allocations: 19.97 kB / 0.9541 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.007478, allocations: 44.89 kB / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.00748, allocations: 0 / 0.9542 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002214/0.007702, allocations: 69.84 kB / 0.9542 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.007715, allocations: 8 kB / 0.9543 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.007722, allocations: 3.938 kB / 0.9543 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.007736, allocations: 0 / 0.9543 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.633e-05/0.007833, allocations: 15.98 kB / 0.9543 GB, free: 8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.007838, allocations: 4.031 kB / 0.9543 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.515e-05/0.007893, allocations: 7.984 kB / 0.9543 GB, free: 7.988 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.007899, allocations: 0 / 0.9543 GB, free: 7.988 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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 8.823e-05/0.007987, allocations: 109.8 kB / 0.9544 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.008014, allocations: 7.953 kB / 0.9544 GB, free: 7.863 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.008273, allocations: 73.22 kB / 0.9545 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008275, allocations: 3.938 kB / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.008279, allocations: 0 / 0.9545 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.008286, allocations: 12.02 kB / 0.9545 GB, free: 7.77 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.00843, allocations: 105.3 kB / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008431, allocations: 0 / 0.9546 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.008498, allocations: 15.92 kB / 0.9546 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008501, allocations: 0 / 0.9546 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.008511, allocations: 4 kB / 0.9546 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.008514, allocations: 3.938 kB / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008515, allocations: 0 / 0.9546 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002782/0.008794, allocations: 167.5 kB / 0.9548 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.569e-05/0.008809, allocations: 11.94 kB / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.008822, allocations: 0 / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.142e-05/0.008903, allocations: 7.938 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.008942, allocations: 7.984 kB / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.008946, allocations: 0 / 0.9548 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.324e-05/0.008999, allocations: 83.28 kB / 0.9549 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9e-08/0.008999, allocations: 0 / 0.9549 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002437/0.009243, allocations: 11.94 kB / 0.9549 GB, free: 7.312 MB / 0.8575 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 (2): * Single equations (assignments): 2 * 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.0001732/0.009416, allocations: 107.3 kB / 0.955 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002799/0.009696, allocations: 39.91 kB / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.009698, allocations: 0 / 0.955 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.009795, allocations: 19.97 kB / 0.955 GB, free: 7.141 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.01009, allocations: 8 kB / 0.955 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.01041, allocations: 112.8 kB / 0.9552 GB, free: 6.996 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.768e-05/0.01048, allocations: 67.47 kB / 0.9552 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.469e-05/0.01051, allocations: 4.188 kB / 0.9552 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.01053, allocations: 12.5 kB / 0.9552 GB, free: 6.895 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01053, allocations: 3.938 kB / 0.9552 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of Templates: time 0.003335/0.01387, allocations: 0.571 MB / 0.9558 GB, free: 6.328 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.953005217015743]