Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.001058/0.001058, 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.001154/0.001154, 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 0.9732/0.9732, allocations: 177.1 MB / 204.2 MB, free: 5.262 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.77/1.77, 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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.858e-05, allocations: 9.656 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001283/0.001302, allocations: 0.8168 MB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000115/0.001417, allocations: 44.88 kB / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.001468, allocations: 0 / 0.7879 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.159e-05/0.001509, allocations: 12.42 kB / 0.788 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.062e-05/0.0016, allocations: 12.55 kB / 0.788 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.534e-05/0.001645, allocations: 15.98 kB / 0.788 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.978e-05/0.001745, allocations: 68.86 kB / 0.788 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.001879, allocations: 27.98 kB / 0.7881 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.624e-05/0.001965, allocations: 39.89 kB / 0.7881 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.002007, allocations: 16.42 kB / 0.7881 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.002028, allocations: 12.75 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.565e-06/0.002035, allocations: 4 kB / 0.7881 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.266e-05/0.002058, allocations: 24.56 kB / 0.7882 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.002082, allocations: 11.94 kB / 0.7882 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.199e-05/0.002174, allocations: 45.02 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.002178, allocations: 3.984 kB / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.02e-07/0.002179, allocations: 0 / 0.7882 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.002183, allocations: 0.7812 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.0003752/0.002558, allocations: 405.2 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.002594, allocations: 8.031 kB / 0.7886 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.002634, allocations: 16.89 kB / 0.7886 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.002958, allocations: 145.9 kB / 0.7888 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.00297, allocations: 8.375 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.002985, allocations: 4.375 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.003099, allocations: 91.47 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.003109, allocations: 1.25 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.00312, allocations: 4.375 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.00313, allocations: 5.031 kB / 0.7889 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.003174, allocations: 31.8 kB / 0.7889 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.003588, allocations: 461 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.003639, allocations: 58.31 kB / 0.7894 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.862e-05/0.003667, allocations: 19.44 kB / 0.7894 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.173e-06/0.003675, allocations: 0 / 0.7894 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.003699, allocations: 41.39 kB / 0.7895 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.0037, allocations: 1.531 kB / 0.7895 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001339/0.003834, allocations: 45.58 kB / 0.7895 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.003868, allocations: 85.64 kB / 0.7896 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.697e-05/0.003965, allocations: 189 kB / 0.7898 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.003975, allocations: 30.42 kB / 0.7898 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.004037, allocations: 154.7 kB / 0.79 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/0.004044, allocations: 12.42 kB / 0.79 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.004072, allocations: 25 kB / 0.79 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.004199, allocations: 0.4884 MB / 0.7905 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.004214, allocations: 4 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.004233, allocations: 19.38 kB / 0.7905 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.177e-05/0.004264, allocations: 28.62 kB / 0.7905 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004267, allocations: 0 / 0.7905 GB, free: 8.77 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.529e-05/0.004322, allocations: 50.34 kB / 0.7906 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.004335, allocations: 9.062 kB / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.00434, allocations: 0 / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.004356, allocations: 0 / 0.7906 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.004415, allocations: 9.375 kB / 0.7906 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.004423, allocations: 7.922 kB / 0.7906 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.004438, allocations: 3.953 kB / 0.7906 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.216e-06/0.004441, allocations: 3.938 kB / 0.7906 GB, free: 8.684 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.678e-05/0.004498, allocations: 162.4 kB / 0.7907 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.004521, allocations: 8 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.259e-05/0.004543, allocations: 3.469 kB / 0.7908 GB, free: 8.508 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.004546, allocations: 4 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.00455, allocations: 2.188 kB / 0.7908 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.004554, allocations: 7.922 kB / 0.7908 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.004809, allocations: 0.546 MB / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.00481, allocations: 0 / 0.7913 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.488e-06/0.00482, allocations: 4 kB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.004821, allocations: 2.25 kB / 0.7913 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.004828, allocations: 7.938 kB / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.004829, allocations: 0 / 0.7913 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.00483, allocations: 3.984 kB / 0.7913 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.033e-05/0.004881, allocations: 80.08 kB / 0.7914 GB, free: 7.777 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.004897, allocations: 16.45 kB / 0.7914 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.004908, allocations: 8.453 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.955e-06/0.004916, allocations: 0 / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.539e-05/0.004931, allocations: 1.906 kB / 0.7914 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.004935, allocations: 4 kB / 0.7914 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.401e-05/0.004979, allocations: 139.2 kB / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.004979, allocations: 0 / 0.7916 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001178/0.005097, allocations: 11.89 kB / 0.7916 GB, free: 7.602 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.327e-05/0.00516, allocations: 97.81 kB / 0.7917 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.05e-05/0.00523, allocations: 27.61 kB / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.005232, allocations: 0 / 0.7917 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.067e-06/0.005241, allocations: 12.22 kB / 0.7917 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001228/0.005364, allocations: 10.75 kB / 0.7917 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002516/0.005615, allocations: 174.5 kB / 0.7919 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.112e-05/0.005647, allocations: 56.02 kB / 0.7919 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.005671, allocations: 8.984 kB / 0.7919 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.364e-05/0.005695, allocations: 8.5 kB / 0.792 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.005695, allocations: 0 / 0.792 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of Templates: time 0.00186/0.007555, allocations: 348.6 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.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.005658395588398]