Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.00223/0.00223, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002574/0.002574, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.626/1.626, allocations: 177.1 MB / 203.9 MB, free: 5.617 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.884/2.884, 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.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.24e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002378/0.00241, allocations: 0.8071 MB / 0.7872 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00013/0.00254, allocations: 43.78 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.002592, allocations: 1.062 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.709e-05/0.002629, allocations: 11.86 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.566e-05/0.002725, allocations: 9.484 kB / 0.7872 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.813e-05/0.002773, allocations: 19.98 kB / 0.7873 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.002906, allocations: 67.77 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.003055, allocations: 39.86 kB / 0.7874 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.00316, allocations: 40.39 kB / 0.7874 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.627e-05/0.003206, allocations: 13.48 kB / 0.7874 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.00323, allocations: 8 kB / 0.7874 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.00324, allocations: 4 kB / 0.7874 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.852e-05/0.003269, allocations: 23.91 kB / 0.7874 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.003301, allocations: 12.84 kB / 0.7875 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.003439, allocations: 79.69 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.003441, allocations: 0 / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003442, allocations: 4.562 kB / 0.7875 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003446, allocations: 1.312 kB / 0.7875 GB, free: 11.64 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005615/0.004007, allocations: 408 kB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.004045, allocations: 8.031 kB / 0.7879 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.004099, allocations: 22.88 kB / 0.788 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.004314, allocations: 132.5 kB / 0.7881 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.004332, allocations: 8.375 kB / 0.7881 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.004345, allocations: 4.375 kB / 0.7881 GB, free: 11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.004524, allocations: 103.9 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.004534, allocations: 2.375 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.004544, allocations: 384 / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004551, allocations: 4.375 kB / 0.7882 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.004643, allocations: 43.86 kB / 0.7882 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006369/0.00528, allocations: 470.4 kB / 0.7887 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.089e-05/0.005371, allocations: 58.22 kB / 0.7888 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.669e-05/0.005418, allocations: 28.67 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.005433, allocations: 4 kB / 0.7888 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.005463, allocations: 35.05 kB / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.005464, allocations: 0 / 0.7888 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.005653, allocations: 54.25 kB / 0.7889 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.005715, allocations: 81.11 kB / 0.7889 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.005902, allocations: 197.8 kB / 0.7891 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.005922, allocations: 25.7 kB / 0.7892 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.006036, allocations: 158.7 kB / 0.7893 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.006046, allocations: 9.109 kB / 0.7893 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.006093, allocations: 23.36 kB / 0.7893 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002675/0.00636, allocations: 0.4884 MB / 0.7898 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.778e-05/0.006378, allocations: 5.375 kB / 0.7898 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.006414, allocations: 27.36 kB / 0.7898 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.006472, allocations: 37.06 kB / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.006474, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001032/0.006577, allocations: 57.62 kB / 0.7899 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.00659, allocations: 4 kB / 0.7899 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.006595, allocations: 4.812 kB / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.006609, allocations: 0 / 0.7899 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.006673, allocations: 9.656 kB / 0.79 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.00668, allocations: 3.938 kB / 0.79 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.609e-05/0.006716, allocations: 11.89 kB / 0.79 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.006725, allocations: 7.984 kB / 0.79 GB, free: 8.902 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.0001357/0.006861, allocations: 157.7 kB / 0.7901 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.006896, allocations: 4 kB / 0.7901 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.006923, allocations: 11.45 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.006924, allocations: 3.188 kB / 0.7901 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.00693, allocations: 4 kB / 0.7902 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.006935, allocations: 3.938 kB / 0.7902 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005173/0.007452, allocations: 0.5577 MB / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.007453, allocations: 0 / 0.7907 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.787e-05/0.007471, allocations: 4 kB / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007473, allocations: 0 / 0.7907 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.007482, allocations: 8.438 kB / 0.7907 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007483, allocations: 3.938 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.007484, allocations: 1.938 kB / 0.7907 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.007604, allocations: 88.12 kB / 0.7908 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.376e-05/0.007627, allocations: 7.953 kB / 0.7908 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.007643, allocations: 3.938 kB / 0.7908 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.007663, allocations: 6.469 kB / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.007681, allocations: 0 / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.007683, allocations: 0 / 0.7908 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001288/0.007811, allocations: 147.2 kB / 0.791 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007811, allocations: 0 / 0.791 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001795/0.007991, allocations: 11.95 kB / 0.791 GB, free: 7.809 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.00013/0.008121, allocations: 100 kB / 0.7911 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.008221, allocations: 24.53 kB / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008223, allocations: 0 / 0.7911 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-05/0.008251, allocations: 20.91 kB / 0.7911 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001449/0.008395, allocations: 4 kB / 0.7911 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.008791, allocations: 183.3 kB / 0.7913 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.22e-05/0.008874, allocations: 80.03 kB / 0.7914 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.008905, allocations: 7.984 kB / 0.7914 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.534e-05/0.00893, allocations: 12.44 kB / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/0.00893, allocations: 0 / 0.7914 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.003086/0.01202, allocations: 346.8 kB / 0.7917 GB, free: 6.992 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.9506340669468045]