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.001531/0.001531, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001369/0.001369, allocations: 169 kB / 24.28 MB, free: 276 kB / 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 0.9999/0.9999, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.849/1.849, allocations: 359 MB / 0.6055 GB, free: 11 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.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.954e-06/1.954e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.102e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002203/0.002234, allocations: 0.8174 MB / 0.7879 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.002368, allocations: 39.78 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.002429, allocations: 0.5625 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.092e-05/0.00247, allocations: 4.625 kB / 0.7879 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.995e-05/0.00257, allocations: 19.8 kB / 0.788 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.042e-05/0.00262, allocations: 16.89 kB / 0.788 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.002734, allocations: 59.84 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.002879, allocations: 36.62 kB / 0.7881 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.002981, allocations: 37.5 kB / 0.7881 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.003029, allocations: 19.91 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.003054, allocations: 8 kB / 0.7881 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.003064, allocations: 4 kB / 0.7881 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.003086, allocations: 15.92 kB / 0.7882 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.003118, allocations: 16.42 kB / 0.7882 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.003234, allocations: 55.14 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.003238, allocations: 0 / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.31e-07/0.003239, allocations: 0 / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.003243, allocations: 0 / 0.7882 GB, free: 11.68 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.0004438/0.003687, allocations: 412.3 kB / 0.7886 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.003733, allocations: 8.031 kB / 0.7886 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.142e-05/0.003785, allocations: 12.89 kB / 0.7886 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.003982, allocations: 132.5 kB / 0.7888 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.004001, allocations: 13.09 kB / 0.7888 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.004016, allocations: 8.375 kB / 0.7888 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.004164, allocations: 89.08 kB / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.004173, allocations: 192 / 0.7889 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.004186, allocations: 4.375 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.004197, allocations: 4.375 kB / 0.7889 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.413e-05/0.004261, allocations: 31.8 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.004773, allocations: 459 kB / 0.7893 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.391e-05/0.004837, allocations: 59.64 kB / 0.7894 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.695e-05/0.004874, allocations: 27.38 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.004882, allocations: 1.281 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.00491, allocations: 37.39 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.004911, allocations: 0 / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001744/0.005086, allocations: 46.97 kB / 0.7895 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.005132, allocations: 85.09 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.005255, allocations: 183 kB / 0.7898 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.005267, allocations: 25.7 kB / 0.7898 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.583e-05/0.005343, allocations: 162.6 kB / 0.7899 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-06/0.005353, allocations: 16.7 kB / 0.79 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.00539, allocations: 19.38 kB / 0.79 GB, free: 9.668 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.005534, allocations: 497.5 kB / 0.7905 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.005554, allocations: 7.984 kB / 0.7905 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.608e-05/0.00558, allocations: 19.38 kB / 0.7905 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.591e-05/0.005626, allocations: 31.81 kB / 0.7905 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005629, allocations: 0.5625 kB / 0.7905 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.188e-05/0.005721, allocations: 54.69 kB / 0.7906 GB, free: 9.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.005737, allocations: 4 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.005743, allocations: 0.875 kB / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.005758, allocations: 0 / 0.7906 GB, free: 9.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.029e-05/0.005828, allocations: 9.188 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.005835, allocations: 3.938 kB / 0.7906 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.005859, allocations: 3.953 kB / 0.7906 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.005865, allocations: 5.406 kB / 0.7906 GB, free: 9.016 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 7.268e-05/0.005937, allocations: 156.6 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.005976, allocations: 4 kB / 0.7907 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.006002, allocations: 8.078 kB / 0.7907 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.006007, allocations: 7.984 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006011, allocations: 0.5 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.006016, allocations: 4.469 kB / 0.7908 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004956/0.006511, allocations: 0.5469 MB / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.006517, allocations: 0 / 0.7913 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.286e-05/0.00656, allocations: 4.812 kB / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.006564, allocations: 0 / 0.7913 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.006576, allocations: 8.75 kB / 0.7913 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.006581, allocations: 3.938 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.006582, allocations: 0.9375 kB / 0.7913 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.254e-05/0.006665, allocations: 84.12 kB / 0.7914 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.006698, allocations: 9.172 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.006712, allocations: 7.938 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.006723, allocations: 0 / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.006739, allocations: 0.9375 kB / 0.7914 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.006743, allocations: 4 kB / 0.7914 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.727e-05/0.0068, allocations: 145.2 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.006801, allocations: 6.156 kB / 0.7916 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001319/0.006932, allocations: 15.89 kB / 0.7916 GB, free: 7.93 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.0001102/0.007043, allocations: 99.19 kB / 0.7917 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.447e-05/0.007127, allocations: 22.88 kB / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.007129, allocations: 0 / 0.7917 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.007142, allocations: 19.61 kB / 0.7917 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001186/0.00726, allocations: 5.891 kB / 0.7917 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/0.007565, allocations: 170.5 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.429e-05/0.007599, allocations: 59.34 kB / 0.7919 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.528e-05/0.007624, allocations: 4 kB / 0.7919 GB, free: 7.484 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.007647, allocations: 13.64 kB / 0.7919 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.007648, allocations: 0 / 0.7919 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of Templates: time 0.001908/0.009556, allocations: 353.5 kB / 0.7923 GB, free: 7.145 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.236017924966291]