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.00205/0.00205, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002298/0.002298, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.477/1.477, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.756/2.756, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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 1.353e-06/1.353e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.107e-05/3.242e-05, allocations: 10.25 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002746/0.002779, allocations: 1.464 MB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.003096, allocations: 83.83 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.509e-05/0.003122, allocations: 3.938 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.241e-05/0.003184, allocations: 1.469 kB / 0.7879 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.003222, allocations: 7.922 kB / 0.7879 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002575/0.00348, allocations: 23.91 kB / 0.7879 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.143e-05/0.003551, allocations: 24.48 kB / 0.788 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.003629, allocations: 4 kB / 0.788 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.003672, allocations: 13.39 kB / 0.788 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.003716, allocations: 15.92 kB / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.003729, allocations: 0 / 0.788 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.003836, allocations: 17.05 kB / 0.788 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.943e-05/0.003875, allocations: 7.984 kB / 0.788 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.003907, allocations: 11.98 kB / 0.788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.004039, allocations: 37.45 kB / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.874e-06/0.004041, allocations: 0 / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.004042, allocations: 0 / 0.7881 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.004045, 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.0004904/0.004536, allocations: 275.4 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.004571, allocations: 8.031 kB / 0.7883 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.392e-05/0.004615, allocations: 4.938 kB / 0.7883 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.004741, allocations: 111 kB / 0.7884 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.004767, allocations: 8.375 kB / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.004776, allocations: 384 / 0.7884 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002016/0.004978, allocations: 55.16 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.004986, allocations: 192 / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.004995, allocations: 1.156 kB / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.004999, allocations: 384 / 0.7885 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.005194, allocations: 42.38 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.005532, allocations: 200.6 kB / 0.7887 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.005681, allocations: 42.55 kB / 0.7888 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.005788, allocations: 22.66 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.005824, allocations: 4 kB / 0.7888 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.00586, allocations: 30.56 kB / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.005861, allocations: 0 / 0.7888 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0004023/0.006263, allocations: 94.83 kB / 0.7889 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.006312, allocations: 55.94 kB / 0.789 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.006419, allocations: 107.5 kB / 0.7891 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.006441, allocations: 25.7 kB / 0.7891 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.006739, allocations: 92.12 kB / 0.7892 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.006759, allocations: 11.88 kB / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.0068, allocations: 14.22 kB / 0.7892 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.006973, allocations: 314.8 kB / 0.7895 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.416e-05/0.007067, allocations: 17.36 kB / 0.7895 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.985e-05/0.007157, allocations: 25.12 kB / 0.7896 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.007326, allocations: 38.2 kB / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.007327, allocations: 0 / 0.7896 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002296/0.007557, allocations: 79.3 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.007571, allocations: 4 kB / 0.7897 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.007577, allocations: 3.938 kB / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.007595, allocations: 0 / 0.7897 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.015e-05/0.007685, allocations: 13.3 kB / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.217e-06/0.007689, allocations: 0 / 0.7897 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.212e-05/0.007741, allocations: 7.984 kB / 0.7897 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.007746, allocations: 1.719 kB / 0.7897 GB, free: 9.262 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.0001041/0.00785, allocations: 113.8 kB / 0.7898 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.007876, allocations: 256 / 0.7898 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.008143, allocations: 91.78 kB / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.008145, allocations: 0 / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.008148, allocations: 0 / 0.7899 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.008155, allocations: 3.984 kB / 0.7899 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.008327, allocations: 109.3 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008328, allocations: 0 / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.308e-05/0.008391, allocations: 8.484 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.008394, allocations: 0.5312 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.008403, allocations: 5.938 kB / 0.79 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.008407, allocations: 3.938 kB / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008408, allocations: 0 / 0.79 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.00871, allocations: 170.1 kB / 0.7902 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.008719, allocations: 3.984 kB / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.008731, allocations: 0 / 0.7902 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.246e-05/0.008813, allocations: 7.938 kB / 0.7902 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.098e-05/0.008854, allocations: 11.92 kB / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.008858, allocations: 0 / 0.7902 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.008917, allocations: 83.28 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.008917, allocations: 0.5312 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002368/0.009154, allocations: 12.84 kB / 0.7903 GB, free: 8.598 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.000165/0.009319, allocations: 104 kB / 0.7904 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002364/0.009555, allocations: 37.25 kB / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009557, allocations: 0 / 0.7904 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.737e-05/0.009654, allocations: 24.81 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.009914, allocations: 1.219 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.01024, allocations: 124.5 kB / 0.7906 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.784e-05/0.01032, allocations: 68.06 kB / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.322e-05/0.01034, allocations: 3.031 kB / 0.7906 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.01037, allocations: 12.5 kB / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/0.01037, allocations: 0 / 0.7907 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of Templates: time 0.003181/0.01355, allocations: 0.5817 MB / 0.7912 GB, free: 7.625 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=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.498978871037252]