Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.001056/0.001056, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001071/0.001071, allocations: 161 kB / 23.82 MB, free: 0.75 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.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.867/1.867, allocations: 359 MB / 0.6052 GB, free: 11.02 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.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.747e-05, allocations: 7.516 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001283/0.001301, allocations: 0.8126 MB / 0.7879 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000111/0.001412, allocations: 39.78 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.76e-05/0.00146, allocations: 5.219 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.298e-05/0.001502, allocations: 11.86 kB / 0.788 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.413e-05/0.001577, allocations: 7.875 kB / 0.788 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.101e-05/0.001618, allocations: 20.61 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.323e-05/0.001711, allocations: 67.81 kB / 0.788 GB, free: 11.54 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.001827, allocations: 29.39 kB / 0.7881 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.202e-05/0.001909, allocations: 43.83 kB / 0.7881 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.897e-05/0.001948, allocations: 15.92 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.001968, allocations: 8.844 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.001978, allocations: 8 kB / 0.7881 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.001996, allocations: 12.48 kB / 0.7882 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.002024, allocations: 23.92 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.649e-05/0.00211, allocations: 40.45 kB / 0.7882 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.002112, allocations: 0.9062 kB / 0.7882 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.573e-06/0.002114, allocations: 3.984 kB / 0.7882 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.002118, allocations: 4 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.0003695/0.002487, allocations: 405 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.002524, allocations: 12.75 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.002562, allocations: 12.89 kB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.00272, allocations: 134.2 kB / 0.7888 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.002731, allocations: 4.375 kB / 0.7888 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.002747, allocations: 12.38 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.002867, allocations: 91.41 kB / 0.7889 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.002877, allocations: 5.469 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.002889, allocations: 4.359 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.002898, allocations: 4.375 kB / 0.7889 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.698e-05/0.002945, allocations: 35.8 kB / 0.7889 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.00343, allocations: 456 kB / 0.7894 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.926e-05/0.003499, allocations: 58.16 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.003537, allocations: 24.34 kB / 0.7894 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.087e-06/0.003546, allocations: 0 / 0.7894 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.003572, allocations: 40.8 kB / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.003573, allocations: 0 / 0.7895 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.003724, allocations: 53.58 kB / 0.7895 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.003761, allocations: 77.11 kB / 0.7896 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001124/0.003873, allocations: 189.2 kB / 0.7898 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.003883, allocations: 29.7 kB / 0.7898 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.741e-05/0.003951, allocations: 154.7 kB / 0.79 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-06/0.003959, allocations: 12.42 kB / 0.79 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.003987, allocations: 19.38 kB / 0.79 GB, free: 9.355 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.00414, allocations: 0.4928 MB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.37e-05/0.004154, allocations: 0.9688 kB / 0.7905 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.004177, allocations: 23.31 kB / 0.7905 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.004218, allocations: 28.09 kB / 0.7905 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.004221, allocations: 0.5312 kB / 0.7905 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.889e-05/0.00429, allocations: 55 kB / 0.7906 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.004306, allocations: 4 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.00431, allocations: 0 / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.004331, allocations: 5.156 kB / 0.7906 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.004411, allocations: 4 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.004421, allocations: 3.938 kB / 0.7906 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.004442, allocations: 12.81 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.004447, allocations: 4 kB / 0.7906 GB, free: 8.695 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.744e-05/0.004525, allocations: 157.1 kB / 0.7907 GB, free: 8.531 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.004549, allocations: 5.469 kB / 0.7908 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.004575, allocations: 7.469 kB / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.004577, allocations: 0 / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.004581, allocations: 0 / 0.7908 GB, free: 8.523 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.004584, allocations: 6.25 kB / 0.7908 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.004854, allocations: 0.5538 MB / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.004855, allocations: 0 / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-06/0.004865, allocations: 0 / 0.7913 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.004866, allocations: 7.938 kB / 0.7913 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.004872, allocations: 7.375 kB / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.004874, allocations: 0 / 0.7913 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.004876, allocations: 3.984 kB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.37e-05/0.00493, allocations: 80.14 kB / 0.7914 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.004944, allocations: 7.953 kB / 0.7914 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.004955, allocations: 7.922 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.674e-06/0.004963, allocations: 0 / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.004979, allocations: 4 kB / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.00498, allocations: 0 / 0.7914 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.04e-05/0.00503, allocations: 140 kB / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00503, allocations: 0 / 0.7916 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001208/0.005151, allocations: 16.39 kB / 0.7916 GB, free: 7.621 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 6.358e-05/0.005215, allocations: 104.3 kB / 0.7917 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.93e-05/0.005294, allocations: 21.05 kB / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.005296, allocations: 0 / 0.7917 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-06/0.005305, allocations: 15.62 kB / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001026/0.005407, allocations: 4.562 kB / 0.7917 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.00565, allocations: 176 kB / 0.7919 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.002e-05/0.005681, allocations: 55.36 kB / 0.7919 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.005705, allocations: 9.047 kB / 0.7919 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.005728, allocations: 12.5 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of SimCode: time 8.91e-07/0.005729, allocations: 0 / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.00177/0.007498, allocations: 344.5 kB / 0.7923 GB, free: 6.84 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.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.314105550758541]