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.002383/0.002383, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002801/0.002801, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.619/1.619, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.959/2.959, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 176] 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 1.693e-06/1.693e-06, allocations: 0.875 kB / 0.7864 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.719e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.00271/0.002737, allocations: 1.46 MB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003009/0.003038, allocations: 97.41 kB / 0.7879 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.003065, allocations: 4 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.361e-05/0.003128, allocations: 0 / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.303e-05/0.003171, allocations: 9.438 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.003432, allocations: 19.97 kB / 0.7879 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.064e-05/0.003493, allocations: 19.94 kB / 0.7879 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.003578, allocations: 16.78 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.003623, allocations: 11.98 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.249e-05/0.003655, allocations: 0.9062 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.003672, allocations: 4 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.003761, allocations: 23.91 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.003801, allocations: 14.38 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.928e-05/0.00382, allocations: 3.984 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.00395, allocations: 39.94 kB / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003952, allocations: 0 / 0.7881 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003953, allocations: 3.938 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.003956, allocations: 0 / 0.7881 GB, free: 11.09 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005002/0.004456, allocations: 370 kB / 0.7884 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.00449, allocations: 8.031 kB / 0.7884 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.004529, allocations: 4.938 kB / 0.7884 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.004657, allocations: 120.5 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.004668, allocations: 384 / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.004676, allocations: 0.9688 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.004819, allocations: 43.62 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.004828, allocations: 4.125 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.004838, allocations: 4.375 kB / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-06/0.004842, allocations: 384 / 0.7886 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.004958, allocations: 25.08 kB / 0.7886 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.00533, allocations: 255.8 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.005445, allocations: 36.44 kB / 0.7889 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.005514, allocations: 19.73 kB / 0.7889 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.098e-05/0.005555, allocations: 5.75 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.00559, allocations: 37.33 kB / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.005591, allocations: 0 / 0.789 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002821/0.005873, allocations: 70.77 kB / 0.789 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.005919, allocations: 51.41 kB / 0.7891 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.006057, allocations: 166.1 kB / 0.7892 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.006089, allocations: 34.23 kB / 0.7893 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.006167, allocations: 126.9 kB / 0.7894 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.006183, allocations: 5.891 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.00623, allocations: 27.36 kB / 0.7894 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002478/0.006478, allocations: 496.1 kB / 0.7899 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.572e-05/0.006534, allocations: 8 kB / 0.7899 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.006585, allocations: 22.58 kB / 0.7899 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.811e-05/0.006683, allocations: 27.67 kB / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.006685, allocations: 0 / 0.7899 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001467/0.006831, allocations: 61.64 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.006843, allocations: 4.531 kB / 0.79 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.006852, allocations: 8.656 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.006867, allocations: 3.984 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.006935, allocations: 8.469 kB / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.00694, allocations: 1.656 kB / 0.79 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.006973, allocations: 4 kB / 0.79 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.006977, allocations: 0 / 0.79 GB, free: 8.883 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 (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 0.0001104/0.007088, allocations: 156.5 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.007116, allocations: 8.484 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.007293, allocations: 61.84 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007295, allocations: 0.7812 kB / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.007297, allocations: 0 / 0.7903 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.007303, allocations: 4.828 kB / 0.7903 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.007458, allocations: 120.6 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007459, allocations: 0.8438 kB / 0.7904 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.446e-05/0.007504, allocations: 7.984 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007505, allocations: 1.281 kB / 0.7904 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.007515, allocations: 4 kB / 0.7904 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.007518, allocations: 3.938 kB / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.007519, allocations: 0 / 0.7904 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.007868, allocations: 208.7 kB / 0.7906 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-06/0.007878, allocations: 5.203 kB / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.007891, allocations: 0 / 0.7906 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.957e-05/0.007951, allocations: 7.938 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.007986, allocations: 1.312 kB / 0.7906 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.007993, allocations: 4 kB / 0.7906 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.36e-05/0.008077, allocations: 135.2 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008077, allocations: 1.594 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002202/0.008297, allocations: 8 kB / 0.7907 GB, free: 8.098 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 (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.0001628/0.00846, allocations: 99.23 kB / 0.7908 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001748/0.008635, allocations: 42.34 kB / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.008637, allocations: 0 / 0.7909 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.686e-05/0.008703, allocations: 23.69 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.008934, allocations: 2.188 kB / 0.7909 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003334/0.009267, allocations: 126.7 kB / 0.791 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.729e-05/0.009345, allocations: 65.17 kB / 0.7911 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.009376, allocations: 7.984 kB / 0.7911 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.699e-05/0.009403, allocations: 8.5 kB / 0.7911 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.009403, allocations: 3.938 kB / 0.7911 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.003415/0.01282, allocations: 0.5847 MB / 0.7917 GB, free: 7.105 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 240] 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.964893217897043]