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.0009244/0.0009244, 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.0009845/0.0009845, 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 1.014/1.014, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.76/1.76, allocations: 359 MB / 0.6052 GB, free: 11 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 1.523e-06/1.523e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.255e-05, allocations: 5.391 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001762/0.001794, allocations: 0.8314 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001502/0.001944, allocations: 48.56 kB / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.001994, allocations: 0 / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/0.00203, allocations: 9.125 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.52e-05/0.002115, allocations: 7.875 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.16e-05/0.002157, allocations: 19.97 kB / 0.788 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.449e-05/0.002251, allocations: 63.84 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.002372, allocations: 37.31 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.002467, allocations: 39.84 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.002504, allocations: 15.97 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.002526, allocations: 9.062 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.694e-06/0.002534, allocations: 4 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.002553, allocations: 11.92 kB / 0.7882 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.00258, allocations: 17.44 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.797e-05/0.002678, allocations: 47.77 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.002681, allocations: 0 / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/0.002682, allocations: 0 / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.002687, allocations: 0.5312 kB / 0.7882 GB, free: 11.36 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.0003701/0.003057, allocations: 413.3 kB / 0.7886 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.003095, allocations: 8.031 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.003138, allocations: 12.89 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.00328, allocations: 146.3 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.00329, allocations: 4.375 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.003301, allocations: 8.375 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.00343, allocations: 89.55 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.003437, allocations: 192 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.003447, allocations: 1.094 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.003454, allocations: 384 / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.0035, allocations: 33.45 kB / 0.7889 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005118/0.004012, allocations: 0.7413 MB / 0.7896 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.004105, allocations: 277.6 kB / 0.7899 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.591e-05/0.004141, allocations: 128.6 kB / 0.79 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.004172, allocations: 123.2 kB / 0.7901 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.775e-05/0.00422, allocations: 152.6 kB / 0.7903 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.004221, allocations: 0 / 0.7903 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.373e-05/0.004285, allocations: 37.59 kB / 0.7903 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.004349, allocations: 177.1 kB / 0.7905 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.004494, allocations: 199.6 kB / 0.7907 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.004505, allocations: 25.7 kB / 0.7907 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.004592, allocations: 182.4 kB / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.339e-06/0.004596, allocations: 0 / 0.7909 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.004634, allocations: 27.38 kB / 0.7909 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.004788, allocations: 0.489 MB / 0.7914 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.004806, allocations: 4 kB / 0.7914 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.957e-05/0.004866, allocations: 79.14 kB / 0.7915 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.146e-05/0.004947, allocations: 90.69 kB / 0.7915 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.004952, allocations: 5.75 kB / 0.7916 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001482/0.0051, allocations: 86.05 kB / 0.7916 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.005116, allocations: 8.938 kB / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.005122, allocations: 0 / 0.7916 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.005141, allocations: 9.922 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.404e-05/0.005205, allocations: 16 kB / 0.7917 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.005214, allocations: 7.875 kB / 0.7917 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.005237, allocations: 4 kB / 0.7917 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.005243, allocations: 4 kB / 0.7917 GB, free: 7.531 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.642e-05/0.005339, allocations: 285.8 kB / 0.792 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.005393, allocations: 156.8 kB / 0.7921 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.005442, allocations: 156.6 kB / 0.7923 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.108e-05/0.005503, allocations: 264.1 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.561e-05/0.005568, allocations: 276 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.257e-05/0.005631, allocations: 276.6 kB / 0.793 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001848/0.005816, allocations: 0.4999 MB / 0.7935 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-05/0.005848, allocations: 153.5 kB / 0.7937 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.097e-05/0.005879, allocations: 144.9 kB / 0.7938 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.829e-05/0.005937, allocations: 272.5 kB / 0.7941 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.737e-05/0.005994, allocations: 265.6 kB / 0.7943 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.424e-05/0.006048, allocations: 268.1 kB / 0.7946 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.565e-05/0.006104, allocations: 272 kB / 0.7948 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001264/0.00623, allocations: 459.8 kB / 0.7953 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/0.006284, allocations: 153.4 kB / 0.7954 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.006348, allocations: 272 kB / 0.7957 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.371e-05/0.006402, allocations: 150.2 kB / 0.7958 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.00647, allocations: 268.4 kB / 0.7961 GB, free: 2.844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.006505, allocations: 152.8 kB / 0.7962 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.6e-05/0.006561, allocations: 140.3 kB / 0.7964 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006561, allocations: 0 / 0.7964 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001601/0.006721, allocations: 15.95 kB / 0.7964 GB, free: 2.535 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 (0): * Single equations (assignments): 0 * 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.0001156/0.006836, allocations: 219.3 kB / 0.7966 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.2e-05/0.006918, allocations: 29.81 kB / 0.7966 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.006922, allocations: 4 kB / 0.7966 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.006922, allocations: 0 / 0.7966 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.0072, allocations: 0.7162 MB / 0.7973 GB, free: 1.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.007449, allocations: 278.2 kB / 0.7976 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.007483, allocations: 63.28 kB / 0.7976 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.976e-05/0.007513, allocations: 6.453 kB / 0.7976 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.862e-05/0.007532, allocations: 13.38 kB / 0.7977 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of SimCode: time 9.62e-07/0.007533, allocations: 0 / 0.7977 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of Templates: time 0.00193/0.009462, allocations: 325.6 kB / 0.798 GB, free: 0.8594 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: 4.895756187848747]