Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001761/0.001761, allocations: 79.44 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.002284/0.002284, allocations: 166.9 kB / 22.46 MB, free: 5.379 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.538/1.538, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.933/2.933, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings.Utilities.Math.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|polynominal.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Polynomial") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.433e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynomial): time 0.002522/0.002547, allocations: 1.455 MB / 0.9828 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003001/0.002847, allocations: 99.59 kB / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.002871, allocations: 0 / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.458e-05/0.002926, allocations: 4 kB / 0.9829 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.5e-05/0.002961, allocations: 7.938 kB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002577/0.003219, allocations: 19.97 kB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.575e-05/0.003284, allocations: 23.88 kB / 0.983 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 7.929e-05/0.003364, allocations: 15.91 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.003406, allocations: 12 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.78e-05/0.003444, allocations: 3.984 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.00346, allocations: 4 kB / 0.983 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 8.995e-05/0.00355, allocations: 23.91 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5e-05/0.0036, allocations: 11.94 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.068e-05/0.003621, allocations: 4 kB / 0.9831 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.003745, allocations: 43.92 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003747, allocations: 0 / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.21e-07/0.003747, allocations: 0 / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.567e-06/0.003751, allocations: 0 / 0.9831 GB, free: 10.19 MB / 0.9356 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.0004438/0.004194, allocations: 274.2 kB / 0.9834 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.004229, allocations: 12.03 kB / 0.9834 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.004258, allocations: 0.9375 kB / 0.9834 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.004372, allocations: 109.8 kB / 0.9835 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.004385, allocations: 384 / 0.9835 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.004393, allocations: 8.312 kB / 0.9835 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.004576, allocations: 54.23 kB / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.004584, allocations: 192 / 0.9835 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.004593, allocations: 8.312 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.004598, allocations: 384 / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001872/0.004785, allocations: 43.89 kB / 0.9836 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.005089, allocations: 196.6 kB / 0.9838 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.005233, allocations: 46.56 kB / 0.9838 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.937e-05/0.005332, allocations: 24.89 kB / 0.9839 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.005361, allocations: 0 / 0.9839 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.018e-05/0.005402, allocations: 42.5 kB / 0.9839 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005403, allocations: 0 / 0.9839 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003725/0.005775, allocations: 89.58 kB / 0.984 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.00582, allocations: 55.53 kB / 0.984 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.005923, allocations: 105.8 kB / 0.9841 GB, free: 9 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.005939, allocations: 25.7 kB / 0.9842 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.005991, allocations: 80.14 kB / 0.9842 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.006011, allocations: 11.95 kB / 0.9842 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.006041, allocations: 9.719 kB / 0.9843 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.006196, allocations: 318.8 kB / 0.9846 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.276e-05/0.006289, allocations: 15.98 kB / 0.9846 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.00637, allocations: 15.98 kB / 0.9846 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.006542, allocations: 52.81 kB / 0.9846 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.006549, allocations: 4 kB / 0.9846 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002187/0.006767, allocations: 69.61 kB / 0.9847 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.006791, allocations: 4 kB / 0.9847 GB, free: 8.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.006799, allocations: 7.875 kB / 0.9847 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.006821, allocations: 7.984 kB / 0.9847 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.006909, allocations: 12.02 kB / 0.9847 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.006913, allocations: 0 / 0.9847 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.006962, allocations: 4 kB / 0.9847 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-06/0.006967, allocations: 0 / 0.9847 GB, free: 8.34 MB / 0.9356 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.405e-05/0.007051, allocations: 113.8 kB / 0.9849 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.007078, allocations: 3.984 kB / 0.9849 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.007323, allocations: 81.16 kB / 0.9849 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.007325, allocations: 4.031 kB / 0.9849 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.007328, allocations: 3.938 kB / 0.9849 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.00733, allocations: 0 / 0.9849 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000153/0.007483, allocations: 113.2 kB / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007484, allocations: 0 / 0.9851 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.048e-05/0.007545, allocations: 7.984 kB / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.007546, allocations: 0 / 0.9851 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.007555, allocations: 4.25 kB / 0.9851 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.00756, allocations: 7.938 kB / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.007561, allocations: 0 / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.007833, allocations: 171.5 kB / 0.9852 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-06/0.007841, allocations: 3.953 kB / 0.9852 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007853, allocations: 0 / 0.9852 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.419e-05/0.007937, allocations: 11.92 kB / 0.9852 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.007972, allocations: 8 kB / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.007975, allocations: 0 / 0.9853 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.008027, allocations: 83.27 kB / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.008027, allocations: 0 / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000234/0.008261, allocations: 8 kB / 0.9853 GB, free: 7.668 MB / 0.9356 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.0001501/0.008411, allocations: 103.3 kB / 0.9854 GB, free: 7.555 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.008635, allocations: 39.95 kB / 0.9855 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008636, allocations: 4 kB / 0.9855 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.353e-05/0.00873, allocations: 19.92 kB / 0.9855 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.008991, allocations: 6.031 kB / 0.9855 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.009289, allocations: 125 kB / 0.9856 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.853e-05/0.009357, allocations: 67.34 kB / 0.9857 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.009379, allocations: 0 / 0.9857 GB, free: 7.254 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.009402, allocations: 8.5 kB / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of SimCode: time 3.11e-07/0.009402, allocations: 0 / 0.9857 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of Templates: time 0.003087/0.01249, allocations: 0.5659 MB / 0.9863 GB, free: 6.688 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Polynomial_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Polynomial.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.074132420122623]