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.001298/0.001298, 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.001531/0.001531, 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.9869/0.9869, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.827/1.827, allocations: 359 MB / 0.6055 GB, free: 10.98 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 2.475e-06/2.475e-06, allocations: 0 / 0.7871 GB, free: 11.68 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.327e-05/3.575e-05, allocations: 2.906 kB / 0.7871 GB, free: 11.68 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002246/0.002282, allocations: 0.8141 MB / 0.7879 GB, free: 10.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001478/0.00243, allocations: 40.34 kB / 0.7879 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.002496, allocations: 1.344 kB / 0.7879 GB, free: 10.84 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.403e-05/0.00254, allocations: 7.875 kB / 0.7879 GB, free: 10.83 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001052/0.002645, allocations: 11.92 kB / 0.788 GB, free: 10.82 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 6.169e-05/0.002707, allocations: 24.98 kB / 0.788 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.00284, allocations: 59.83 kB / 0.788 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.002995, allocations: 39.86 kB / 0.7881 GB, free: 10.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.003105, allocations: 41.33 kB / 0.7881 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.018e-05/0.003155, allocations: 15.92 kB / 0.7881 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.003183, allocations: 8 kB / 0.7881 GB, free: 10.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.003192, allocations: 4.594 kB / 0.7881 GB, free: 10.63 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.003221, allocations: 19.91 kB / 0.7882 GB, free: 10.61 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.003258, allocations: 16.47 kB / 0.7882 GB, free: 10.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.003386, allocations: 52.81 kB / 0.7882 GB, free: 10.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.00339, allocations: 0 / 0.7882 GB, free: 10.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003391, allocations: 0 / 0.7882 GB, free: 10.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.003396, allocations: 1.375 kB / 0.7882 GB, free: 10.55 MB / 0.698 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.0004915/0.003888, allocations: 404 kB / 0.7886 GB, free: 10.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.00394, allocations: 8.031 kB / 0.7886 GB, free: 10.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.924e-05/0.003999, allocations: 25.81 kB / 0.7886 GB, free: 10.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.004213, allocations: 128.5 kB / 0.7888 GB, free: 9.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.00423, allocations: 12.36 kB / 0.7888 GB, free: 9.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.004247, allocations: 13.06 kB / 0.7888 GB, free: 9.906 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.004408, allocations: 93.5 kB / 0.7889 GB, free: 9.801 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004416, allocations: 2.656 kB / 0.7889 GB, free: 9.801 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.004429, allocations: 384 / 0.7889 GB, free: 9.801 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.00444, allocations: 4.375 kB / 0.7889 GB, free: 9.797 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.802e-05/0.004508, allocations: 31.8 kB / 0.7889 GB, free: 9.766 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.005082, allocations: 458.4 kB / 0.7894 GB, free: 9.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.321e-05/0.005155, allocations: 59.97 kB / 0.7894 GB, free: 9.195 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.005195, allocations: 23.44 kB / 0.7894 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.376e-06/0.005204, allocations: 0 / 0.7894 GB, free: 9.164 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.005232, allocations: 37.39 kB / 0.7895 GB, free: 9.117 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.005233, allocations: 0.5312 kB / 0.7895 GB, free: 9.117 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002049/0.005438, allocations: 50.83 kB / 0.7895 GB, free: 9.062 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.005487, allocations: 81.11 kB / 0.7896 GB, free: 8.965 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.005642, allocations: 191 kB / 0.7898 GB, free: 8.766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.005656, allocations: 25.7 kB / 0.7898 GB, free: 8.734 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.005766, allocations: 158.7 kB / 0.79 GB, free: 8.574 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.095e-05/0.005777, allocations: 7.953 kB / 0.79 GB, free: 8.566 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.005822, allocations: 19.88 kB / 0.79 GB, free: 8.539 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000201/0.006023, allocations: 0.4922 MB / 0.7905 GB, free: 8.035 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.006047, allocations: 4.594 kB / 0.7905 GB, free: 8.031 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.006086, allocations: 24.09 kB / 0.7905 GB, free: 8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.006144, allocations: 32.52 kB / 0.7905 GB, free: 7.961 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.006147, allocations: 0 / 0.7905 GB, free: 7.961 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001038/0.006251, allocations: 51.02 kB / 0.7906 GB, free: 7.906 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.006275, allocations: 6.344 kB / 0.7906 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.006281, allocations: 0 / 0.7906 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.006302, allocations: 1.75 kB / 0.7906 GB, free: 7.902 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.445e-05/0.006396, allocations: 11.98 kB / 0.7906 GB, free: 7.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.006405, allocations: 3.938 kB / 0.7906 GB, free: 7.887 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.856e-05/0.006434, allocations: 7.891 kB / 0.7906 GB, free: 7.879 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.006441, allocations: 4 kB / 0.7906 GB, free: 7.875 MB / 0.698 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 0.0001022/0.006544, allocations: 157.9 kB / 0.7907 GB, free: 7.711 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.089e-05/0.006584, allocations: 4 kB / 0.7908 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.2e-05/0.006616, allocations: 3.469 kB / 0.7908 GB, free: 7.707 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.006622, allocations: 5.219 kB / 0.7908 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.006627, allocations: 0 / 0.7908 GB, free: 7.703 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.006633, allocations: 3.938 kB / 0.7908 GB, free: 7.699 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.00707, allocations: 0.5478 MB / 0.7913 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.007072, allocations: 0 / 0.7913 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.007097, allocations: 7.938 kB / 0.7913 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.0071, allocations: 0 / 0.7913 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.007111, allocations: 14.42 kB / 0.7913 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.007114, allocations: 0 / 0.7913 GB, free: 7.082 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.007118, allocations: 4 kB / 0.7913 GB, free: 7.078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.77e-05/0.007205, allocations: 80.14 kB / 0.7914 GB, free: 6.973 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.047e-05/0.007236, allocations: 11.94 kB / 0.7914 GB, free: 6.961 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.007252, allocations: 3.938 kB / 0.7914 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.007267, allocations: 0.5 kB / 0.7914 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.007285, allocations: 0.5312 kB / 0.7914 GB, free: 6.957 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.007288, allocations: 4 kB / 0.7914 GB, free: 6.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.007359, allocations: 141.1 kB / 0.7916 GB, free: 6.816 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.007359, allocations: 0 / 0.7916 GB, free: 6.816 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000223/0.007582, allocations: 15.89 kB / 0.7916 GB, free: 6.801 MB / 0.698 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.0001399/0.007722, allocations: 97.84 kB / 0.7917 GB, free: 6.695 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.007824, allocations: 27.61 kB / 0.7917 GB, free: 6.664 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.007827, allocations: 4 kB / 0.7917 GB, free: 6.66 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.007841, allocations: 11.62 kB / 0.7917 GB, free: 6.645 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001807/0.008022, allocations: 8 kB / 0.7917 GB, free: 6.637 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004165/0.008438, allocations: 175.5 kB / 0.7919 GB, free: 6.426 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.952e-05/0.008488, allocations: 59.34 kB / 0.7919 GB, free: 6.348 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.9e-05/0.008527, allocations: 8.859 kB / 0.7919 GB, free: 6.34 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.008557, allocations: 9.75 kB / 0.792 GB, free: 6.332 MB / 0.698 GB Notification: Performance of SimCode: time 9.12e-07/0.008558, allocations: 0 / 0.792 GB, free: 6.332 MB / 0.698 GB Notification: Performance of Templates: time 0.003063/0.01162, allocations: 344.9 kB / 0.7923 GB, free: 6.012 MB / 0.698 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.148324597859755]