Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001008/0.001008, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001878/0.001878, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.98/0.98, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.883/1.883, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.526e-06/3.526e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.23e-05/3.583e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002679/0.002715, allocations: 0.8105 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001328/0.002848, allocations: 43.78 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.765e-05/0.002905, allocations: 4.625 kB / 0.7879 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.636e-05/0.002952, allocations: 11.86 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.72e-05/0.003049, allocations: 9.281 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.913e-05/0.003098, allocations: 15.98 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.003254, allocations: 67.83 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.003395, allocations: 27.97 kB / 0.7881 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.165e-05/0.003477, allocations: 40.69 kB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.003539, allocations: 19.91 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.003561, allocations: 12.5 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.538e-06/0.00357, allocations: 8.688 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.003592, allocations: 11.94 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.003624, allocations: 24.81 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.003737, allocations: 39.83 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.00374, allocations: 0.6562 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/0.003741, allocations: 0 / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.003747, allocations: 5.25 kB / 0.7882 GB, free: 11.35 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.0004498/0.004197, allocations: 404.3 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.00424, allocations: 12.03 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.453e-05/0.004284, allocations: 18.48 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.004463, allocations: 136.4 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.004474, allocations: 4.375 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.472e-05/0.004489, allocations: 8.375 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.004607, allocations: 82.45 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.004618, allocations: 192 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.00463, allocations: 7.781 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.004641, allocations: 4.375 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.668e-05/0.004688, allocations: 31.84 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.0051, allocations: 462.3 kB / 0.7893 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.48e-05/0.005154, allocations: 62.23 kB / 0.7894 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.961e-05/0.005184, allocations: 19.5 kB / 0.7894 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.034e-06/0.005191, allocations: 0 / 0.7894 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.005214, allocations: 42.11 kB / 0.7895 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.005216, allocations: 3.984 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001402/0.005356, allocations: 51.23 kB / 0.7895 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.005393, allocations: 81.05 kB / 0.7896 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.952e-05/0.005493, allocations: 187.7 kB / 0.7898 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.878e-06/0.005503, allocations: 30.58 kB / 0.7898 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.005565, allocations: 158.7 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/0.005572, allocations: 8.391 kB / 0.79 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/0.0056, allocations: 23.38 kB / 0.79 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.005717, allocations: 493.6 kB / 0.7905 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.005729, allocations: 7.984 kB / 0.7905 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.005749, allocations: 23.38 kB / 0.7905 GB, free: 8.809 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.136e-05/0.00578, allocations: 28.72 kB / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.005782, allocations: 0 / 0.7905 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.348e-05/0.005836, allocations: 55 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.005849, allocations: 4 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.005853, allocations: 0 / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.005869, allocations: 4.562 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.005917, allocations: 4 kB / 0.7906 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.005922, allocations: 5.469 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.005937, allocations: 3.953 kB / 0.7906 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.00594, allocations: 7.938 kB / 0.7906 GB, free: 8.688 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 5.972e-05/0.006, allocations: 157.6 kB / 0.7907 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.006022, allocations: 4 kB / 0.7907 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.006045, allocations: 11.47 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.006047, allocations: 0.5312 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.00605, allocations: 0.5312 kB / 0.7908 GB, free: 8.512 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.006054, allocations: 3.938 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.006309, allocations: 0.547 MB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.00631, allocations: 0.7188 kB / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.006319, allocations: 0 / 0.7913 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00632, allocations: 4.531 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.006327, allocations: 7.875 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.21e-07/0.006327, allocations: 1.375 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.006328, allocations: 0 / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.626e-05/0.006384, allocations: 89.22 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.006398, allocations: 7.953 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.006409, allocations: 7.938 kB / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-06/0.006417, allocations: 0 / 0.7914 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.006432, allocations: 8.797 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-06/0.006434, allocations: 4 kB / 0.7914 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.00648, allocations: 142.4 kB / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00648, allocations: 0 / 0.7916 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001253/0.006606, allocations: 17.23 kB / 0.7916 GB, free: 7.605 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 7.652e-05/0.006682, allocations: 95.25 kB / 0.7917 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.056e-05/0.006753, allocations: 24.59 kB / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.006754, allocations: 0 / 0.7917 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.658e-06/0.006764, allocations: 17.98 kB / 0.7917 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001116/0.006875, allocations: 2.344 kB / 0.7917 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.007125, allocations: 174.5 kB / 0.7919 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.383e-05/0.007159, allocations: 59.34 kB / 0.7919 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.466e-05/0.007184, allocations: 11.42 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.007206, allocations: 12.5 kB / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of SimCode: time 3.7e-07/0.007206, allocations: 0 / 0.792 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of Templates: time 0.001937/0.009143, allocations: 350.1 kB / 0.7923 GB, free: 6.824 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.304034921806306]